Driver code
public static void Main ( String [ ] args ) { int [ ] arr = { 4 , 2 , 3 , 7 , 6 } ; int K = 2 ; int n = arr . Length ; if ( fun ( arr , n , K ) ) { Console . WriteLine ( " yes " ) ; } else { Console . WriteLine ( " no " ) ; } } }