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