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