Task: Program Execution
Input (English): [401, 744, 376, 307, 42, 793, 137, 17, 643, 178, 138, 107, 596]
Output (English): [401, 307, 137, 17, 643, 107]