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