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