Task: Program Execution
Input (English): 2, 12, ['L', '11', '3589', 'B', 'N', '7125', 'n', 'd', '1745', 'J', '8589', 'k', '6759', '8847', '8973', '347']
Output (English): k, 8589, J, 1745, d, n, 7125, N, B, 3589, 11