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