N = int(input()) S = str(N) a = int(S[0]) b = int(S[1]) c = len(S)-1 if int(S[2]) >= 5: if a == 9 and b == 9: a = 1 b = 0 c += 1 elif b == 9: a += 1 b = 0 else: b += 1 print(str(a)+"."+str(b)+"*10^"+str(c))