← Problem book: Python
Lesson 17 of 96 · 10 XP
Is it even
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
You are given an integer n (it can be negative). Print YES if it is even and NO if it is odd.
Example
Input:
4
Output:
YES
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.