#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; if(N != 3) assert(false); cout << 5 << endl; cout << "1 3 25" << endl; cout << "2 3 36" << endl; cout << "1 2 1" << endl; cout << "1 2 3" << endl; cout << "1 2 5" << endl; cout << "3 3 4 5" << endl; cout << "1 1" << endl; cout << "1 2" << endl; }