Competitions

# Week 2: November 16 – 22. Conditional statement. 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**.

#### Input

One integer **n**.

#### Output

Print **YES** or **NO** depending on conditions.

Input example #1

22

Output example #1

YES

Input example #2

7

Output example #2

NO