Opposites Attract
Submit solution
Points:
1
Time limit:
2.0s
Memory limit:
256M
Problem types
Allowed languages
Python
Timmy and Sarah each have some flowers.
They are in love if one of them has an odd number of flowers and the other has an even number of flowers.
Write a program that reads two integers and prints whether they are in love.
Input
The input contains two integers, flower1 and flower2, on one line.
Output
Output Yes if they are in love.
Otherwise, output No.
Sample Input
1 4
Sample Output
Yes
Comments