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