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