...

/

Solved Problem - Prime Factorization

Solved Problem - Prime Factorization

In this lesson, we'll discuss how to find the prime factorization of a number.

Problem statement

Given an integer, NN, print all the prime factors of NN.

Input format

A single line of input contains an integer NN (1N1010)(1 \leq N \leq 10^{10}).

Output format

Print all the prime factors of NN.


Sample

Input 1: `

24

Output 1:

2 3

Input 2:

207

Output 2:

3 23

Explanation

24=23×324 = 2^{3} \times 3 ...