#include <bits/stdc++.h>
using namespace std;

int main()
{
	int n;
	cin>>n;
	if(n==1)
	{
		cout<<58;
	}
	else
	{
		cout<<108;
	}
	return 0;
}