# -*- coding: utf-8 -*- from math import log10,floor from decimal import * n = int(input()) k = floor(log10(n)) x = n//(10**(k-2)) x /= 100 x = float(Decimal(str(x)).quantize(Decimal("1.0"))) if x>=10.0: x /= 10 k += 1 print("{}*10^{}".format(x,k))