#include <iostream>
using namespace std;
string detectSeason(int k){
if(k < 1 || k > 12)
return "Invalid data";
if(k >= 3 && k < 6)
return "It's spring!";
if(k >= 6 && k < 9)
return "It's summer!";
if(k >= 9 && k < 12)
return "It's autumn!";
return "It's winter!";
}
int main(){
int n;
cin >> n;
cout << detectSeason(n);
#include <iostream>
using namespace std;
string detectSeason(int k){
if(k < 1 || k > 12)
return "Invalid data";
if(k >= 3 && k < 6)
return "It's spring!";
if(k >= 6 && k < 9)
return "It's summer!";
if(k >= 9 && k < 12)
return "It's autumn!";
return "It's winter!";
}
int main(){
int n;
cin >> n;
cout << detectSeason(n);
}