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