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