#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using llu = long long unsigned;

vector<ll> dx = { 0, 0, -1, 1};
vector<ll> dy = {-1, 1,  0, 0};

#define MOD 1000000007
int main() {
    int X;
    cin >> X;
    string ret;
    switch (X) {
        case 12:
        case 1:
        case 2:
            ret = "winter";
            break;
        case 3:
        case 4:
        case 5:
            ret = "spring";
            break;
        case 6:
        case 7:
        case 8:
            ret = "summer";
            break;
        case 9:
        case 10:
        case 11:
            ret = "fall";
            break;
    }
    cout << ret << endl;
    return 0;
}