eolymp
bolt
Try our new interface for solving problems
Problems

Number Game

Number Game

Time limit 1 second
Memory limit 64 MiB

Vasya, a school whiz kid, feels bored during math classes, so he occasionally plays different games with Petya, a non-achiever who shares a desk with him.

Once, Vasya proposed to play the following game. Petya picks two successive prime numbers, multiplies them and tells the product to Vasya, who is to find out the numbers. First, Vasya had to explain that two primes are successive if there are no other primes between them.

Petya was surprised to see how quickly Vasya figured out the numbers. Then Vasya proposed that they switch roles. Please help Petya to find the chosen numbers.

Write a program to find two successive prime numbers x and y given their product.

Input data

The input file contains a single integer, the arithmetical product of x and y (2x < y ≤ 10^6, x, y are successive prime numbers).

Output data

The output file should contain two space-delimited integers x and y, the least of them going first.

Examples

Input example #1
15
Output example #1
3 5
Source 2013-2014 ACM Central Region of Russia Quarterfinal, Rybinsk 2013/10/17