Task: Program Execution
Input (English): 5, 6, ['733', 'A', '8087', '5757', 'R', 'M', 'j', '6123']
Output (English): MR