#include <stdio.h>

int main() {
long age,time;
scanf("%ld",&age);
time=age*3.156*(10*10*10*10*10*10*10);
printf("%ld",time);
    return 0;
}