#include <bits/stdc++.h>
using namespace std;//命名空间

long long year;//定义年份和月份
long long month;
int main() {//主函数
    cin >> year;//读入
    month = year % 100;//算出月份
    if (month >= 3 && month <= 5) {//入股月份在3月~5月之间
        cout << "spring";//输出春天
    }else if (month >= 6 && month <= 8) {//如果月份在6月~8月之间
        cout << "summer";//输出夏天
    }else if (month >= 9 && month <= 11) {//如果在9月~11月之间
        cout << "autumn" << endl;//输出秋天
    }else {//如果以上都不满足
        cout << "winter";//输出winter
    }
}