n = int(input())
if n < 10:
    print("%.1f"%(n*2.2))
else:
    print("%.1f"%(n*2))
/**************************************************************
	Problem: 1303
	User: mariooo
	Language: Python
	Result: Accepted
	Time:92 ms
	Memory:34244 kb
****************************************************************/