// #define _GLIBCXX_DEBUG #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) int main() { // Input int X; cin >> X; // Output if (3 <= X && X <= 5) cout << "spring" << endl; else if (6 <= X && X <= 8) cout << "summer" << endl; else if (9 <= X && X <= 11) cout << "fall" << endl; else cout << "winter" << endl; }