human
Write me a code to check if A can be converted to B by reducing with a Prime number and the other steps required given the following:
Check if A can be converted to B by reducing with a Prime number | Function to find if it is possible to make A equal to B.
Driver Code.
Function Call"
Solution in Python:
assistant
#Here is code to check if A can be converted to B by reducing with a Prime number and the other steps required.
 def isPossible ( A , B ) :
	return ( A - B > 1 ) ;
A = 10 ; B = 4 ;
if ( isPossible ( A , B ) ) :
	print ( " Yes " ) ;
else :
	print ( " No " ) ;