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