Task: Program Execution
Input (English): 2, 12, ['5847', '7851', '1931', '7533', '6917', '1217', 'k', '2591', '2163', 'C', 'f', '7129', 'B']
Output (English): 7851, 1931, 7533, 6917, 1217, k, 2591, 2163, C, f, 7129