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