Task: Program Execution
Input (English): [34, 24, 64, -81, 18, 31]
Output (English): [34, 64, 31]