Task: Program Execution
Input (English): 5, ['3961', '7875', 'A', '2935', '603', 'M', 'D', 'T', 'e', '1409', 'Z', 'J', '5993', '2919', '63', '363', '3441', 'm', 'X', '6163']
Output (English): 3961, M, Z, 363