#include <iostream> using namespace std; int main() { long x; scanf("%ld", &x); printf("%ld", x * 31560000); }