Task: Program Execution
Input (English): 4, ['9051', 'X', 'O', 'p', '6827', '2115', '3405', 'c', '4255', 'T', '9049']
Output (English): 9051, 6827, 4255