#include<iostream> using namespace std; int main(){ double x; cin>>x; double a= x*9/5+32; cout<<a<<endl; return 0; }