Maximum, program M, with tests.