Given a natural number in decimal form, up to digits long, where all prime divisors are less than or equal to , write a program to output its canonical prime factorization in ascending order.
The input consists of a single line containing a natural number with up to digits.
The output should be a single line displaying the canonical prime factorization of the given number, formatted according to the specified rules (refer to the example).
Example 1
Example 2
Example 3