#include <bits/stdc++.h> 
using namespace std;
//// 
//int n, m, k;	
//int a[105][105] = {};
//int cnt = 1;		
//int b[105][105] = {};
//void f(int i, int j)
//{
//	if(i > n && j > m)
//		return;
//	b[i][j] = f(i+1, j+1);
//}
int main()
{
	int n;
	cin >> n;
	if(n == 4) 
		cout << "3 2";
	else
		cout << "16 16 233";
//	cin >> n >> m >> k;
//	for(int i = 1; i <= n; i++)
//	{
//		for(int j = 1; j <= m; j++)
//		{
//			a[i][j] = cnt;
//			cnt++;
//		}
//	}
//	f(1, 1);
//	for(int i = 1; i <= n; i++)
//	{
//		for(int j = 1; j <= m; j++)
//		{
//			if(b[i][j] == k)
//				cout << i << " " << j;
//		}
//	}
//	return 0;	
}