Task: Program Execution
Input (English): [2, 2, 7, 1, 4, 4, 2, 3, 6, 7] , [6, 2, 8, 6, 7, 6, 1, 1, 6, 1]
Output (English): [1, 2, 6, 7]