#include<iostream> #include<cstdio> using namespace std; int main(){ double c; cin>>c; double f=c*9.0/5.0+32; printf("%g\n",f); return 0; }