Task: Program Execution
Input (English): 3, 10, ['k', '4357', 'd', '9479', 'z', '6633', '6513', '2481', '4539', '9909', 'z', '7817', '1545', 'r', 'a', '6551', '1413', '8367', '8763', '1939', 'Z', 'P', '6307', '2671', 'E', 'I']
Output (English): d, 1545, 6307