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