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