human
Find if a molecule can be formed from 3 atoms using their valence numbers | Function to check if it is possible.
Driver code"
Solution in Python:
assistant
#Here is code to find if a molecule can be formed from 3 atoms using their valence numbers and the other steps required.
 def printPossible ( a , b , c ) :
	if ( ( a + b + c ) % 2 != 0 or a + b < c ) :
		print ( " NO " )
	else :
		print ( " YES " )
if __name__ == " _ _ main _ _ " :
	a = 2
	b = 4
	c = 2
	printPossible ( a , b , c )