human
Find two distinct numbers such that their LCM lies in given range | Function to find two distinct numbers X and Y s . t . their LCM lies between L and R and X , Y are minimum possible.
Check if 2 * L lies in range L , R.
Print the answer.
Given value of ranges.
Function call"
How can the above be solved in Python?

=====
Write me a code to find two distinct numbers such that their LCM lies in given range and the other steps required?
assistant
#Here is code to find two distinct numbers such that their LCM lies in given range and the other steps required.
 def answer ( L , R ) :
	if ( 2 * L <= R ) :
		print ( L , " , " , 2 * L )
	else :
		print ( - 1 )
L = 3
R = 8
answer ( L , R )