Driver Program
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT K = 5 NEW_LINE A = [ 12 , 1 , 7 , 7 , 26 , 18 ] NEW_LINE N = 3 NEW_LINE if ( oddSum ( A , N , K ) ) : NEW_LINE INDENT print ( " YES " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " NO " ) NEW_LINE DEDENT DEDENT