Task: Program Execution
Input (English): 4, 12, ['B', '1507', '5003', 'C', 'a', 'I', 'G', 'a', '8459', 'J', '9383', '4219', '7075', 'f', 'x', '3885']
Output (English): 42199383J8459aGIaC