import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = read().decode().rstrip() length = len(N) N = int(N[:3]) assert N >= 100 N += 5 N -= N % 10 if N == 1000: x = 10 length += 1 else: x = N // 10 q,r = divmod(x,10) print('{}.{}*10^{}'.format(q,r,length-1))