#include<bits/stdc++.h>
using namespace std;
int main(){
	int a=21,b=1,yue=21;
	cout<<b<<' '<<a<<endl;
	do{
		b++;
		a+=2;
		yue+=a;
		cout<<b<<' '<<a<<' '<<yue<<endl;
	}while(yue!=525);
	return 0;
}

