c=int(input())
f=9/5*c+32
print('%.2f'% f)
/**************************************************************
	Problem: 1031
	User: admin
	Language: Python
	Result: Accepted
	Time:94 ms
	Memory:34244 kb
****************************************************************/