import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String str = bf.readLine().substring(4,6);
int month = Integer.parseInt(str);
if(month>=3 && month<=5){
System.out.println("spring");
}
else if(month>=6 && month<=8 ){
System.out.println("summer");
}
else if(month>=9 && month<=11){
System.out.println("autumn");
}
else{
System.out.println("winter");
}
}
}
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String str = bf.readLine().substring(4,6);
int month = Integer.parseInt(str);
if(month>=3 && month<=5){
System.out.println("spring");
}
else if(month>=6 && month<=8 ){
System.out.println("summer");
}
else if(month>=9 && month<=11){
System.out.println("autumn");
}
else{
System.out.println("winter");
}
}
}