import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String date = scanner.next();
String m = date.substring(4,6);
int month = Integer.parseInt(m);
if(month >= 3 && month < 6) {
System.out.println("spring");
} else if(month >= 6 && month < 9) {
System.out.println("summer");
} else if(month >= 9 && month < 12) {
System.out.println("autumn");
} else if(month == 12 || (month >= 1 && month < 3)) {
System.out.println("winter");
} else {
System.out.println("Input error!");
}
}
}