Task: Program Execution
Input (English): 4, ['6167', '7177', '6905', '2055', '8039', '5209', 'b', 'Q', 'x', '1421', 'N', 'X', 'g', 'A', 'Q', 'H', 'z', 'p', 'S', 'm', 'n', '1293', '5609']
Output (English): 6167, 7177, 6905, 2055