S = input() N = len(S) - 1 S = int(S[:3]) if S%10 >= 5: S += 1 S = str(S) N += len(S) - 3 print(S[0] + "." + S[1] + "*10^" + str(N))