#include <iostream>
#include <string>
using namespace std;
string mo(int month){
    if (month >= 3 and month <= 5) return "春季";
    if (month >= 6 and month <= 8) return "夏季";
    if (month >= 9 and month <= 11) return "秋季";
    if ((month == 12) or (month >= 1 and month <= 2)) return "冬季";
    else return "不合法";
}
int main() {
    
    int month;
    cin >> month;

    // write your code here......
    cout << mo(month) << endl;

    return 0;
}