ORTL1P07 - Leapyear

Given a positive year (AC) say if it's a leap-year (february has 29 days) or not.

A leap-year is multiple of 4, but not multiple of 100. The only exception is when the year is multiple of 400, in that case is leap although it's also multiple of 100. For example, 1900 and 2100 isn't leap, while 2000 is.

Input

A number Y, the year.

Output

A line with the text "YES" if it's a leap-year, or "NO" otherwise.

Example

Input:
etc.

Output:
etc.

Added by:Joaquin
Date:2014-05-26
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64

hide comments
2018-08-10 22:50:24
At least one of testfiles contains no integers.

Admins, please hide this.
2014-06-05 14:10:51 Sidhanta Choudhury
easy one but why gives wrong answer??
is output cout<<"YES"<<endl or cout<<"NO<<endl or without endl?
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.