#include <stdio.h>

int main()
{

    int yoon;
    int y = 0;

    scanf("%d", &yoon);

    if (yoon % 4 == 0)
    {
        y++;
    }
    else
    {
        printf("Common Year");
        return 0;
    }

    if (y == 1)
    {
        yoon % 200;
        if (yoon % 200 == 0)
        {
            printf("Leap Year");
        }
        else
        {
            printf("Common Year");
            return 0;
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: