Task: Program Execution
Input (English): 2, 6, ['E', '8707', 'K', 'S', '8007', 'X', 'f', 'z', 'r', '5319', 'u', '3591', 'Q', '2207']
Output (English): 8707, z, 2207