Chẵn lẻ

View as PDF

Submit solution

Points: 0.01 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Author:
Problem type
Allowed languages
Scratch

Cho số nguyên dương ~A~. Hãy cho biết ~A~ có phải số chẵn hay không.

Input

Gồm ~1~ dòng chứa ~1~ số nguyên dương ~A~ ~(1 \le A \le 10^6)~.

Output

In ra YES nếu ~A~ là số chẵn, ngược lại in ra NO.

Sample Input 1

2

Sample Output 1

YES

Sample Input 2

3

Sample Output 2

NO

Comments

Please read the guidelines before commenting.



  • 0
    l1i3nh  commented on May 3, 2023, 12:48 p.m.

    khó quá không bt làm huhuhuh


  • -4
    flexity  commented on May 31, 2022, 3:17 a.m.

    mọi người ơi cho em xin ý tưởng với ạ =(


    • -9
      hh123123  commented on May 31, 2022, 1:45 p.m.

      This comment is hidden due to too much negative feedback. Show it anyway.