Task: Program Execution
Input (English): 6, ['X', '9285', '657', '7181', 'h', 'o', '8363', '7103', '7037', 'M', 'S', '5809', '7515', '8069', 'm', '3029', '8277', 'd', 'r', '6863', '7457', 't']
Output (English): 8363, 7103, 7037, M, S, 5809, 7515, 8069, m, 3029, 8277, d, r, 6863, 7457, t