human
Check if there exists a prime number which gives Y after being repeatedly subtracted from X | Function that returns true if any prime number satisfies the given conditions.
No such prime exists.
Driver code"
Solution in Python:
assistant
#Here is code to check if there exists a prime number which gives Y after being repeatedly subtracted from X and the other steps required.
 def isPossible ( x , y ) :
	if ( ( x - y ) == 1 ) :
		return False
	return True
x = 100
y = 98
if ( isPossible ( x , y ) ) :
	print ( " Yes " )
else :
	print ( " No " )