Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT dp = [ ] NEW_LINE L = 1 NEW_LINE R = 50 NEW_LINE print ( solve ( R ) - solve ( L - 1 ) ) NEW_LINE L = 50 NEW_LINE R = 100 NEW_LINE print ( solve ( R ) - solve ( L - 1 ) ) NEW_LINE DEDENT