Canonical Decomposition#7432

Canonical Decomposition

1 second
64 megabytes
Medium

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.

Input

The input consists of a single line containing a natural number with up to digits.

Output

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).

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading