# include<bits/stdc++.h> using namespace std; int main(){ double c,f; cin>>c; cout<<c*9/5+32; return 0; }