Task: Program Execution
Input (English): 7, ['461', '849', '3381', 'P', 'Q', 'x', 'm', '875', '919', 'c', 'T', '6501', 'x', '9971', 'n', 'a', '9765', '1949', '7223', '5497', 'O']
Output (English): 461, 849, 3381, P, Q, x, m