#include <bits/stdc++.h>

using namespace std;

#ifdef LOCAL
#include "debug.hpp"
#else
#define debug(...) 1
#endif

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    int x;
    cin >> x;
    if (3 <= x && x <= 5) {
        cout << "spring" << '\n';
    } else if (6 <= x && x <= 8) {
        cout << "summer" << '\n';
    } else if (9 <= x && x <= 11) {
        cout << "fall" << '\n';
    } else {
        cout << "winter" << '\n';
    }
}