Task: Program Execution
Input (English): [0, 37, 37, 140, 49, 21, 151]
Output (English): [37, 37, 49, 21, 151]