Problem N. 14. Matches
Input file name: standard input
Output file name: standard output
Time limit: 1 s
Memory limit: 1024 MB
Petriukas used matchsticks to form a rectangular grid made up of A matchsticks and B unit squares.
Help determine the dimensions of the rectangular grid.

Input

Two integers A and B (1 \le A, B \le 10^{10}).
You may assume that a valid rectangular grid always exists for the given input.

Output

Print two integers — the width and height of the rectangular grid, separated by a space.

Example

standard inputstandard output
17 6 2 3