Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ 50 , 1 , 100 , 100 , 1 ] NEW_LINE K = 2 NEW_LINE n = len ( arr ) NEW_LINE print ( minimum_possible_sum ( arr , n , K ) ) NEW_LINE DEDENT