Task: Program Execution
Input (English): 4, ['Z', '2123', 'H', '2485', '1141', '1943', 'p', '9247', '3121', '3821']
Output (English): 1141, 1943, p, 9247, 3121, 3821