Task: Program Execution
Input (English): [340, 390, 158, 178, 330, 32, 373, 84, 101, 365, 223, 413, 246, 120, 215, 172, 311, 74, 143, 228]
Output (English): 381