#include<stdio.h>

int main(void){
    int N;
    double hoge = 3.5;
    scanf("%d",&N);
    printf("%lf",hoge * N);
    return 0;
}