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