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