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