using namespace std;

int main() {
    
    int month;
    cin >> month;
    if(month>=3&&month<=5){
        printf("春季");
    }
    else if(month>=6&&month<=8){
        printf("夏季");
    }
    else if(month>=9&&month<=11){
        printf("秋季");
    }
    else if(month==1||month==2||month==12){
        printf("冬季");
    }
    else{
        printf("不合法");
    }

    // write your code here......
    

    return 0;
}