from decimal import ROUND_HALF_UP, Decimal def main(): N = input() exp_ = len(N) - 1 mantissa = Decimal(N[:3]) mantissa = int(mantissa.quantize(Decimal('1E1'), rounding=ROUND_HALF_UP)) if mantissa >= 1000: exp_ += 1 mantissa /= 10 mantissa /= 100 print(f"{mantissa}*10^{exp_}") if __name__ == "__main__": main()