Task: Program Execution
Input (English): [347, 591, 826, 52, 621, 864, 804, 601, 71, 182, 844, 406, 251, 364, 789, 174, 361, 18, 71, 97]
Output (English): [347, 601, 71, 251, 71, 97]