At least one odd. Given two integers, print “YES” if at least one of them is odd and print “NO” otherwise.
Input |
Correct answer |
1 |
YES |
2 |
NO |
1 |
YES |
Python, Java
At least one odd. Given two integers, print “YES” if at least one of them is odd and print “NO” otherwise.
Input |
Correct answer |
1 |
YES |
2 |
NO |
1 |
YES |