Anno bisestile

Alcuni anni hanno 29 giorni a febbraio, mentre altri ne hanno 28. Gli anni che hanno 29 giorni sono chiamati anni bisestili. Vogliamo determinare se un anno è bisestile o meno. Questo può essere fatto con una semplice regola: un anno è bisestile se è divisibile per 4 ma non è divisibile per 100. Tuttavia, gli anni divisibili per 400 sono anche considerati bisestili.

aws4_request&X-Amz-Date=20220415T100015Z&X-Amz-Expires=86400&X-Amz-Signature=3884321acecfbca277c25ba5434521e4663b0703bad623268765fe2dd5a059df&X-Amz-SignedHeaders=host&x-id=GetObject.png

Dato un anno, stampa Yes se è un anno bisestile e No altrimenti.

Input

Output

400

Yes

2007

No

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue