human
Find numbers a and b that satisfy the given conditions | Function to print the required numbers.
Suppose b = n and we want a % b = 0 and also ( a / b ) < n so a = b * ( n - 1 ).
Special case if n = 1 we get a = 0 so ( a * b ) < n.
If no pair satisfies the conditions.
Driver Code"
Solution in Python:
assistant
#Here is code to find numbers a and b that satisfy the given conditions and the other steps required.
 def find ( n ) :
	b = n
	a = b * ( n - 1 )
	if a * b > n and a // b < n :
		print ( " a ▁ = ▁ { } , ▁ b ▁ = ▁ { } " . format ( a , b ) )
	else :
		print ( - 1 )
if __name__ == " _ _ main _ _ " :
	n = 10
	find ( n )