eolymp
Competitions

PP1 Week 2 Conditionals Part 1

Exactly one condition out of two

Time limit 1 second
Memory limit 128 MiB

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.

Input data

One integer n.

Output data

Print YES or NO depending on conditions.

Examples

Input example #1
22
Output example #1
YES
Input example #2
7
Output example #2
NO
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"