S = raw_input() ab = int(S[0]+S[1]) d = int(S[2]) if 5 <= d and d <= 9: ab += 1 a = str(ab)[0] b = str(ab)[1] c = len(S)-1 if ab == 100: c += 1 print a + '.' + b + '*10^' + c