#include #include using namespace std; int main() { long N; cin >> N; long gihon; gihon = N * 52 + 316; cout << gihon << endl; //printf("%ld\n", gihon); return 0; }