Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT N = 3 NEW_LINE W = 10 NEW_LINE A = [ 4 , 5 , 7 ] NEW_LINE B = [ 8 , 5 , 4 ] NEW_LINE print ( round ( maximumProfit ( A , B , N , W ) , 5 ) ) NEW_LINE DEDENT