Task: Program Execution
Input (English): 9, 12, ['4907', '8519', '9449', 'X', '5403', 'J', '5523', '9751', '5463', 'i', '8179', '1665']
Output (English): 15307