eolymp
Competitions

Задачі для початківців

Monthly and quarterly

Givenan integerN (1N12), whichwill determine thenumber ofmonthsper year.For a givenvalue ofNoutput thename ofthe quarterto which it belongsmonth.

Input

Single number- the number ofmonthsper year.

Output

The onlyline thatis locatedthe nameof the quarter.DeriveFirstforthe firstquarter, Second -forthe second, Third -the thirdandFourthforthe fourth.

Time limit 1 second
Memory limit 64 MiB
Input example #1
5
Output example #1
Second
Source ДПА 2011 - в.16