Task: Program Execution
Input (English): [50, -82, -18, -6, 49, 31, -90, 45]
Output (English): [50, -82, 49, 31]