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