#include <bits/stdc++.h>
using namespace std;
int main(){
	cout<<"7 31 6\n8 14 14\n2";
	return 0;
}

/**************************************************************
	Problem: 1076
	User: zhouhongyi
	Language: C++
	Result: Accepted
	Time:4 ms
	Memory:2072 kb
****************************************************************/