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