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