C. Fadi and LCM

Link to the question.
https://codeforces.com/contest/1285/problem/C
Help me to understand this question

Hello @ravig8233

In this question you are given an integer “X” and you need to answer two integers (a and b).
such that LCM(a, b) = X also max(a, b) should be minimum possible.

Example
X = 60
so pairs could be
(1, 60), (2, 60), (3, 60), (4, 60), (5, 60), (6, 60), (10, 60), (12, 60), (15, 60), (20, 60), (30, 60)
(4, 30)
(12, 10)
(6, 20)
(15, 4)

Answer here should be
10 12 because max(a, b) is minimum here i.e., 12.