eolymp
bolt
Try our new interface for solving problems
Problems

None of the two conditions

None of the two conditions

For the given integer $n$ print "\textbf{YES}", if none of the next conditions takes place and "\textbf{NO}" otherwise. \begin{itemize} \item number $n$ is even and positive; \item number $n$ is odd and negative. \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
7
Output example #1
YES
Input example #2
24
Output example #2
NO
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"