human
Can you provide a code to check if X and Y can be made zero by using given operation any number of times and the other steps required given the following:
Check if X and Y can be made zero by using given operation any number of times | Function to check if X and Y can be made equal to zero by using given operation any number of times.
Check for the two conditions.
Driver code"
Solution in Python:
assistant
#Here is code to check if X and Y can be made zero by using given operation any number of times and the other steps required.
 def ifPossible ( X , Y ) :
	if ( X > Y ) :
		X , Y = Y , X
	if ( ( X + Y ) % 5 == 0 and 3 * X >= 2 * Y ) :
		print ( " Yes " )
	else :
		print ( " No " )
X = 33
Y = 27
ifPossible ( X , Y )