S = input() ab = (int(S[:min(3,len(S))]) + 5) // 10 a = ab // 10 b = ab % 10 x = len(S)-1 if ab >= 100: b = a % 10 a //= 10 x += 1 print('{}.{}*10^{}'.format(a,b,x))