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