#include <iostream>
using namespace std;

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

    return 0;
}