Programming Principles 1. Week 2. September 9 - 15. PART 3
Exactly one condition out of two
For the given integer n print YES, if exactly one of the following conditions is true and NO otherwise.
number n is even;
number n is negative and divisible by 3.
One integer n.
Print YES or NO depending on conditions.
Input example #1
Output example #1
Input example #2
Output example #2