#include <bits/stdc++.h>
using namespace std;
int main()
{
float f,c;
cin>>c;
f=9/5.0*c+32;
printf("%.2f",f);
return 0;
}
/**************************************************************
Problem: 1031
User: wqc123
Language: C++
Result: Accepted
Time:7 ms
Memory:2072 kb
****************************************************************/