Unlucky Days Unlucky Days
English FR

Friday 13th or Black Friday is considered as unlucky day. Calculate how many unlucky days are in the given year.

Find the number of Friday 13th in the given year.

Input: Year as an integer.

Output: Number of Black Fridays in the year as an integer.

Example:

Precondition: 1000 < |year| < 3000