Kiểm tra số đẹp

View as PDF

Submit solution

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

Author:
Problem type

Nhập vào số nguyên dương ~n~, cho biết ~n~ có lớn hơn ~2022~ và tận cùng bởi chữ số ~2~ hay không?

Nếu có thì in ra YES, nếu không thì in ra NO.

Input

Dòng duy nhất gồm 1 số nguyên ~n \le 10^5~.

Output

In ra YES hoặc NO.

Sample

2222

Sample Output

YES

Comments

Please read the guidelines before commenting.


There are no comments at the moment.