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