favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

# Product

Peter and Vasyl prepared for the certification by topic: "Multiplication". Peter asked a product of all natural numbers from A to B, and Vasyl answered. Help to Vasyl to find A and B. if you have some solution, give that answer which have the least A.

Input

One number, product of numbers. 1 < AB10000.

Output

In one line we have two numbers A and B, which wrote through gap.

Time limit 1 second
Memory limit 64 MiB
Input example #1
60

Output example #1
3 5