#include <stdio.h>
int main(){
int y,m;
scanf("%4d%2d",&y,&m);
if(m>=3&&m<=5) printf("spring");
if(m>=6&&m<=8) printf("summer");
if(m>=9&&m<=11) printf("autumn");
if(m>=12&&m<=2) printf("winter");
return 0;
}
int main(){
int y,m;
scanf("%4d%2d",&y,&m);
if(m>=3&&m<=5) printf("spring");
if(m>=6&&m<=8) printf("summer");
if(m>=9&&m<=11) printf("autumn");
if(m>=12&&m<=2) printf("winter");
return 0;
}