using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); static int[] NMi => ReadLine().Split().Select(c => int.Parse(c) - 1).ToArray(); static int[][] NMap(int n) => Enumerable.Repeat(0, n).Select(_ => NMi).ToArray(); public static void Main() { Solve(); } static void Solve() { var x = NN; if (3 <= x && x <= 5) WriteLine("spring"); else if (6 <= x && x <= 8) WriteLine("summer"); else if (9 <= x && x <= 11) WriteLine("fall"); else WriteLine("winter"); } }