eolymp
bolt
Try our new interface for solving problems
Problems

Exactly one condition out of two

Exactly one condition out of two

For the given integer $n$ print "\textbf{YES}", if exactly one of the following conditions is true and "\textbf{NO}" otherwise. \begin{itemize} \item number $n$ is even; \item number $n$ is negative and divisible by tree. \end{itemize} \InputFile One integer $n$. \OutputFile Print "\textbf{YES}" or "\textbf{NO}" depending on conditions.
Time limit 1 second
Memory limit 128 MiB
Input example #1
22
Output example #1
YES
Input example #2
7
Output example #2
NO
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"