Task: Program Execution
Input (English): 4, ['X', 'm', '9881', '8561', '3369', '9099', '5181', 'Q', '2029']
Output (English): 3369, 9099, 5181, Q, 2029