X = gets.to_i puts case X when 3 .. 5 "spring" when 6 .. 8 "summer" when 9 .. 11 "fall" when 12, 1 .. 2 "winter" end