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