Task: Program Execution
Input (English): 2, ['4741', 'x', '8781', '3445', 'P', 'N', '3793', '2071', '2655', 'j', 'l', 'J', '3295', '8153', 'n', '5523', '1805', 'D']
Output (English): 4741, x