Task: Program Execution
Input (English): 5, 7, ['6005', 'y', '5057', '7865', '2845', '101', 'M', 'd']
Output (English): M1015482