Task: Program Execution
Input (English): 2, ['1529', 'V', 'B', 'P', '9977', 'm', '621', '8259', '1347', 'A', 'D', 'B', 'h', 'x', '5043']
Output (English): 1529, V