Task: Program Execution
Input (English): 3, 9, ['B', '1071', 'B', '4385', '1927', 'm', 'A', 'h', '3675', 'R', '7169']
Output (English): B, 4385, 1927, m, A, h, 3675