To check if i is a factor of x and the minimum possible number satisfying the given conditions
if ( x % i == 0 and lcm ( i , x // i ) == x ) : NEW_LINE INDENT ans = i NEW_LINE DEDENT print ( ans , ( x // ans ) ) NEW_LINE