Task: Program Execution
Input (English): [127, 58, 361, 433, 939, 970, 818, 389]
Output (English): [127, 433, 389]