import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) n = readline().rstrip().decode() a = int(n[0]) b = int(n[1]) + 1 if int(n[2]) >= 5 else 0 c = len(n) - 1 if b == 10: b = 0 a += 1 if a == 10: c += 1 a = 1 print(f'{a}.{b}*10^{c}')