#include <bits/stdc++.h>
using namespace std;
int main(){
	double c,f;
	cin>>c;
	f=c*9/5+32;
	printf("%.2f",f);
	return 0;
}

/**************************************************************
	Problem: 1031
	User: zhouhongyi
	Language: C++
	Result: Accepted
	Time:9 ms
	Memory:2072 kb
****************************************************************/