why am i getting WA in LTIME66B Event problem

Can anyone suggest a test case why my solution https://www.codechef.com/submit/complete/21706164 is getting WA for the EVENT problem of LTIME66B?

Have you tried

monday sunday 1 9?

The answer should be 7 but your code gives many.