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