#include<bits/stdc++.h>
using namespace std;
int main(){
int c;
cin>>c;
double f=c*9/5+32;
printf("%.2f",f);
return 0;
}
/**************************************************************
Problem: 1031
User: linxichen
Language: C++
Result: Wrong Answer
****************************************************************/