#include <iostream> using namespace std; int main() { int n; while (cin >> n) { for (int i = 0; i < 4; ++i) { cout<<4*i<<" "<<(25-7*i)<<" "<<(75+3*i)<<endl; } } }