Task: Program Execution
Input (English): [307, 121, 312, 870, 74, 515, 587, 227, 703, 613, 4, 461, 7, 580, 661, 790, 127]
Output (English): [307, 587, 227, 613, 461, 7, 661, 127]