// Given three distincts integer a,b and c,find the second largest among them.
// #include <stdio.h>
// int main(){
//     int a,b,c;
//     scanf("%d %d %d",&a,&b,&c);
//     if(a<b&&b<c)
//     {
//         printf("%d",b);
//     }
//     else if(a>b&&a>c)
//     {
//         printf("%d",c);
//     }
//     else{
//         printf("%d",a);
//     }
    
// }

#include<stdio.h>
int main()
{
    float a,b;
    scanf("%d",a);
    b=2.54*a;
    printf("%d",b);
}