#include <stdio.h>
#include<math.h>
#include<math.h>
int main()
{
unsigned int age = 0;
scanf("%u\n", &age);
printf("%llu\n",(unsigned long long)(age * 3.156 * pow(10, 7)));
return 0;
}

#include <stdio.h>
#include<math.h>
#include<math.h>
int main()
{
unsigned int age = 0;
scanf("%u\n", &age);
printf("%llu\n",(unsigned long long)(age * 3.156 * pow(10, 7)));
return 0;
}