#!/usr/bin/env pypy3 import math def parse(n): c = int(math.log10(n)) ab = n / (10 ** c) if ab > 9.99: ab = 1.0 c += 1 return ab, c def main(): n = int(input()) ab, c = parse(n) print("{:.1f}*10^{}".format(ab, c)) if __name__ == '__main__': main()