Ms. Werhun was preparing factoring problems for her class when all of a sudden she spilled her tea all over her desk! Fortunately, the problems were saved, but now the answers are illegible! Your task is to help Ms. Werhun find the answers to her factoring problems.
Given two integers and find two integers and , where and .
Constraints
For each input and , there will always exist a and that will satisfy the restrictions above.
Input Specification
The first and only line of input will contain the two integers and separated by a space.
Output Specification
Output and on the same line, separated by a space.
If there are multiple solutions, output the one with the smallest value of .
Sample Input
3 2
Sample Output
1 2
Comments