#include<iostream> using namespace std; int main() { int a,b; scanf("%4d%2d",&a,&b); int i=0; if(b>=3&&b<=5)cout<<"spring"; if(b>=6&&b<=8)cout<<"summer"; if(b>=9&&b<=11)cout<<"autumn"; if(b==12||(b>=1&&b<=2))cout<<"winter"; }
#include<iostream> using namespace std; int main() { int a,b; scanf("%4d%2d",&a,&b); int i=0; if(b>=3&&b<=5)cout<<"spring"; if(b>=6&&b<=8)cout<<"summer"; if(b>=9&&b<=11)cout<<"autumn"; if(b==12||(b>=1&&b<=2))cout<<"winter"; }