#include <stdio.h> int main() { long age=0; scanf("%ld",&age); printf("%ld",age*31560000); return 0; }