a = input() b = a * 8 d = str(a + int(b / 100.0)) f = str(b / 100.0).split(".")[1][:2] print d + "." + f