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