from decimal import Decimal, ROUND_HALF_UP num = input() m = float(num[:3]) / 10**min(len(num)-1, 2) m = Decimal(m).quantize(Decimal('0.1'), rounding=ROUND_HALF_UP) e = len(num)-1 if m >= 10: e += 1 m = 1.0 print(str(m)+'*10^'+str(e))