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