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