Task: Program Execution
Input (English): 3, 6, ['x', '8975', '1233', '8729', '3627', '6591']
Output (English): 6591, 3627, 8729, 1233