Task: Program Execution
Input (English): 2, 10, ['K', 'k', '6355', '8681', 'L', '8967', 'O', 'e', 'z', 'w', '3519']
Output (English): w, z, e, O, 8967, L, 8681, 6355, k