Task: Program Execution
Input (English): 3, ['o', '6791', 'x', '1147', '9913', '6181', 'C', '4791', '6415', 'A']
Output (English): 1147, 9913, 6181, C, 4791, 6415, A