Task: Program Execution
Input (English): [47, 86, 52, 77]
Output (English): 39