Chia hết cho 2

View as PDF

Submit solution

Points: 50.00
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Author:
Problem type
Allowed languages
Assembly, Awk, Brain****, C, C++, Java, Pascal, Perl, Python, Sed, Text

Cho số ~a (|a| \leq 10^{18}~). Hỏi số ~a~ có chia hết cho 2 hay không. Nếu chia hết thì in ra YES, ngược lại in ra NO

Dữ liệu vào

Một dòng duy nhất chứa số ~a~

Kết quả

  • Ghi một dòng YES hoặc NO

INPUT

10

OUTPUT

YES


Loading...