Product
Medium
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Peter and Vasyl prepared for the certification by topic: "Multiplication". Peter asked a product of all positive integers from to , and Vasyl answered. Help to Vasyl to find and . if you have some solution, give that answer which have the least .
Input
One number — product of integers from to .
Output
Print two numbers and .
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 10%