Task: Program Execution
Input (English): [40, -8, -77, -7, -55, -62, -54]
Output (English): [40, -8, -62, -54]