Task: Program Execution
Input (English): 2, ['505', 'f', 'C', 'B', '5163', '7871', 'V']
Output (English): C, B, 5163, 7871, V