Input (grade 9): If a movable holiday falls on Saturday, Sunday or Monday then it is not moved to another day.
Output (grade 8): If it falls on Tuesday or Wednesday, the holiday is moved to the previous Monday.