If current product is equal to the current maximum product then choose the maximum element
elif currprod == maxProd : NEW_LINE INDENT maxElement = max ( maxElement , a [ i ] ) NEW_LINE DEDENT return maxElement NEW_LINE