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