mh38694 test cases and outputs