Task: Program Execution
Input (English): [9, 34, 24, 50]
Output (English): 41