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