The manager of the Bashundhara Cineplex is going to schedule six movies-M, N, P, Q, R and S - during the course of one week. He will schedule one movie each day from Monday through Saturday. The manager must schedule the movie according to the following conditions:
@ M must be scheduled earlier in the week than R
@ P must be scheduled on Tuesday
@Q must be scheduled on the day immediately before or immediately after the day on which N is scheduled.
If Q is to be scheduled on Thursday, the latest day on which M can be scheduled is: