#include<iostream>
#include<iomanip>
using namespace std;
int main(){
    int c;
    cin>>c;
    double f=9.0/5*c+32;
    printf("%.2f",f);
}
/**************************************************************
	Problem: 1031
	User: wangchenyu
	Language: C++
	Result: Accepted
	Time:14 ms
	Memory:2072 kb
****************************************************************/