Happy new year 2024
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Time Limit: 1.0 s
Memory Limit: 32.0 MB
Description
Araf was born in 29 february 1996. As it was a leap year and the date 29 february comes only in leap years thats why Araf has no choice but to wait for a leap year to come to celebrate his birthday.
Generally he has not much excitement about a new year and does not join in 31-st nighy party. But if the upcoming new year is a leap year then he becomes so excited about the year that he can not resist himself joining the 31st night party.
So,you know what the upcoming year is and today it's 31st december. You have to tell whether Araf will celebrate tonight or not.
Input
A single line consists an integer \(Y\) : the upcoming year
1996 < \(Y\) < 2100
Output
print "YES" if Araf will join in the party tonight or "NO" otherwise.
Sample 1
Input
2024
Output
YES
Sample 2
Input
2023
Output
NO
Brain booster - 1
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 10
- Start at
- 2023-12-31 13:15
- End at
- 2023-12-31 17:15
- Duration
- 4.0 hour(s)
- Host
- Partic.
- 36