#include using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(v) v.begin(), v.end() #define inf (long long)2e+18 int main() { int x; cin >> x; x%=12; if(x < 3) cout << "winter" << endl; else if(x < 6) cout << "spring" << endl; else if(x < 9) cout << "summer" << endl; else if(x < 12) cout << "fall" << endl; }