Task: Program Execution
Input (English): 2, 5, ['p', 'c', '8421', 'B', 'h', '5389', 'i', 'e', '161', '3767', 'p', '6401', '207']
Output (English): h, B, 8421, c