Task: Program Execution
Input (English): 2, ['2961', 'X', '2059', 's', '5141', '5809', '4881', 'J', 'L', 'j', '1209', '7239', '9347', '3641', '9545', '9089', 'P']
Output (English): 2961, X