#include <stdio.h>

int main() {
    int a;
    scanf("%d", &a);
    
    if (a % 400 == 0 ) {
        printf("lear year");
    
    } else if ((a % 4 ==0)&&(a % 100 > 0)) {
        printf("lear 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: