Task: Program Execution
Input (English): 8, 14, ['P', '2655', 'H', '73', 'T', 'Q', 'J', 'P', 'x', '2825', 'v', '9467', 'P', 'M']
Output (English): M, P, 9467, v, 2825, x, P