#include #define _CRT_SECURE_NO_WARNINGS int main() { long long int N; scanf("%lld",&N); printf("%lld",264+52*N); return 0; }