#include<bits/stdc++.h>
using namespace std;
int main()
{int c;
scanf("%d",&c);
float f;
f=9.0/5*c+32;
printf("%.2f",f);
return 0;
}
/**************************************************************
Problem: 1031
User: cx002
Language: C++
Result: Accepted
Time:14 ms
Memory:2076 kb
****************************************************************/