Task: Program Execution
Input (English): 2, 10, ['B', '8675', 'Z', '1957', 'O', 'z', '7711', '7831', 'W', 'J', '9599', '6113', 'N']
Output (English): J, W, 7831, 7711, z, O, 1957, Z, 8675