Driver code
public static void Main ( String [ ] args ) { int K = 5 ; int [ ] A = { 12 , 1 , 7 , 7 , 26 , 18 } ; int N = 3 ; if ( oddSum ( A , N , K ) ) Console . Write ( " YES " ) ; else Console . Write ( " NO " ) ; } }