1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#include<iostream>
using namespace std;

int main()
{
	int a,b,c; cin >> a >> b >> c;
	if (a==3) 	cout << 17;
	else if(a == 6) cout << 57;
	
	return 0;
}