A. 练22.1  闰年与平年

    Type: Default 1000ms 64MiB

练22.1  闰年与平年

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.

Description

As we all know, a leap year occurs every four years. However, calculating one leap year every four years would result in approximately 3.12 extra days over 400 years. Therefore, it is stipulated that century years must be divisible by 400 to be leap years. This is commonly known as: a leap year every four years, except for century years, which are leap years only if divisible by 400.
Write a program that takes a year as input and determines whether it is a common year or a leap year.

Input Format

A single line containing a year.

Output Format

Output whether it is a common year or a leap year, as shown in the sample output.

Sample

2020
2020 is a leap year

20251213 A班作业(10)

Not Claimed
Status
Done
Problem
10
Open Since
2025-12-13 0:00
Deadline
2025-12-21 23:59
Extension
24 hour(s)