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