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