#include<bits/stdc++.h>
using namespace std;
int main(){
    int C;
    double f;
    cin>>c;
    f = 9.0 / 5* c + 32;
    cout<<fixed<<setprcision(2)<<f<<endl;
    return 0;
}
/**************************************************************
	Problem: 1031
	User: chenmingyu
	Language: C++
	Result: Compile Error
****************************************************************/