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