#include <iostream>
using namespace std;
int main() {
float C, F;
cin >> C;
F = C * 9 / 5 + 32;
cout << F;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAgICBmbG9hdCBDLCBGOwogICAgY2luID4+IEM7CiAgICBGID0gQyAqIDkgLyA1ICsgMzI7CiAgICBjb3V0IDw8IEY7CiAgICByZXR1cm4gMDsKfQ==