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