S = raw_input() A = int(S[:2]) if int(S[2]) >= 5: A += 1 print str(A)[0] + "." + str(A)[1] + "*10^" + str(len(S)-1)