Task: Program Execution
Input (English): 2, ['Y', '7177', 'F', '323', '3355', '427', 'x', '7723', 'T', 'C', 'p', 'D', 'o', '9997', 'P', '407', '9867', 'G', 'w']
Output (English): Y, 7177