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