Task: Program Execution
Input (English): 6, 12, ['3885', '649', 'X', 'f', '2003', '9323', 'm', '1145', 'G', 'Z', 'z', 'a']
Output (English): 10468