import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); int length = s.length(); int num = Integer.parseInt(s.substring(0, 3)); long value = Math.round(num / 10.0); if (value == 100) { value /= 10; length++; } long first = value / 10; long second = value % 10; System.out.println(first + "." + second + "*10^" + (length - 1)); } }