#include using namespace std;
int main() {
int month;
cin >> month;
// write your code here......
if(month>12||month<1){
cout<<"不合法";
}
else if(month==12||month==1||month==2){
cout<<"冬季"<<endl;
}
else{
month>8?cout<<"秋季":(month>5?cout<<"夏季":cout<<"春季");
}
return 0;
}