#include <iostream>
using namespace std;
int main()
{
int c;
float f;
cin >> c;
f = c*9/5+32;
printf("%.2f",f);
cout << endl;
}
/**************************************************************
Problem: 1031
User: xiaomingze
Language: C++
Result: Wrong Answer
****************************************************************/