Task: Program Execution
Input (English): 4, 18, ['I', 'h', '8953', '1541', '6335', 'I', '9505', 'J', '8947', 'G', 't', 'V', '8977', 'k', '3985', 'a', 'b', 'k', '1771']
Output (English): k, b, a, 3985, k, 8977, V, t, G, 8947, J, 9505, I, 6335, 1541