Friday the 13th --------------- Given a year, compute how many times during the year the date is Friday the 13th. For example, in 2014, there was only one Friday the 13th (in June). Some useful information: Jan, Mar, May, Jul, Aug, Oct, Dec have 31 days each. Apr, Jun, Sep, Nov each have 30 days. Feb has 29 days in leap years, 28 days in non-leap years. Years that are divisible by 4 are leap years, EXCEPT years that are divisible by 100 but not by 400. (Thus, years divisible by 400 are leap years, but 1800 and 1900 were not leap years.) Input Format ------------ There will be multiple inputs. Each input year will be on a separate line. The last line of input will be a 0, which should not be processed. All input years will be at least 1800. (So there is no need to worry about the switch from the Julian to the Gregorian calendar in 1752.) Output Format ------------- For each input year, print the number of times a Friday the 13th occurs in that year. Each output value should appear by itself on a separate line. Sample Input ------------ 2014 1998 0 Sample Output ------------- 1 3