def main(): print(['winter', 'spring', 'summer', 'fall'][int(input())//3 % 4]) if __name__ == '__main__': main()