#include<iostream> using namespace std; int main(){ double f,c; char a; cin>>c; f =c*9.0/5+32; cout<<f; return 0; }