Task: Program Execution
Input (English): 5, 7, ['7771', '5745', 'P', '199', '6233', 'X', 'a', 'm', '9005', 'x', '1109', 'E', '5999', '6541', 'V', 'x', 'Z', '9987', 'H']
Output (English): 6233