Task: Program Execution
Input (English): [347, 983, 953, 118, 977, 552, 798, 621, 31, 456, 818, 643, 477, 744, 109, 65]
Output (English): [347, 983, 953, 977, 31, 643, 109]