Task: Program Execution
Input (English): [31, 21, 61, 130, 106, 128, 146, 66, 96, 147]
Output (English): [31, 21, 61, 147]