#include <iostream>
using namespace std;
int c;
float f;
int main(){
cin >> c;
f=(9.0/5)*c+32;
printf("%.2f",f);
cout<<endl;
}
/**************************************************************
Problem: 1031
User: chenyichuen
Language: C++
Result: Accepted
Time:7 ms
Memory:2072 kb
****************************************************************/