#include <stdio.h>

int main() {
    int date,month;
    scanf("%d",&date);
    month=date%100;    
    if(month==1||month==2||month==12) printf("winter");
    else if(month>=3&&month<6) printf("spring");
    else if(month>5&&month<9) printf("summer");
    else if(month>8&&month<12) printf("autumn");
    return 0;
}