https://www.luogu.com.cn/article/e6e9i3zy
随便一拍就能拍出 hack。
Input:
2 3 2 FRI SAT 2 1 1 THU WED 2 4 THU SUN 1 1 2 1 0 0
Ans:
Inconsistent data.
Output:
8 8
显然其无法满足条件 222。