Calculate how many 13th days of the month falls in each weekday.

e.g. if input is 20, the program will output from 1900/1/1 ~ 1919/12/31,
     there are how many 13th day of each month falls on Saturday, Sunday, ... Friday.

     The input is specified by a file "friday.in" and output will be
written to "friday.out". The given value N can't be larger than 400.