Task: Program Execution
Input (English): 4, 3, ['P', '2335', 'i', '1555', 'k', '8361', '5797', 'v', 'A', 'w', 'B', '3641', 'x', 'r', '1485', 'i', 'J', '3967', 'A', '4309', 'h', 'I']
Output (English): 1555, 5797, w, x, i, A, I