The flow chart requires two numbers, M and N. Select several values for M and try to establish what the flow chart does.
Can you think like a computer and work out what this flow diagram does?
What day of the week were you born on? Do you know? Here's a way to find out.