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