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