#include int main(void){ long vol_no; long answer; scanf("%ld",&vol_no); answer=264+vol_no*52; printf("%ld\n",answer); return 0; }