Task: Program Execution
Input (English): [312, 354, 273, 324, 296, 391, 328, 443, 152, 303, 385, 119, 140, 157, 491, 52, 473, 186, 284, 377]
Output (English): 439