Task: Program Execution
Input (English): [271, 867, 973, 514, 49, 823, 787, 905, 757, 310, 917, 80, 900, 59, 931, 431, 271]
Output (English): [271, 823, 787, 757, 59, 431, 271]