Driver Code
public static void Main ( String [ ] args ) { String s = " geeksforgeeks " ; int l = s . Length ; if ( check ( s , l ) ) Console . WriteLine ( " YES " ) ; else Console . WriteLine ( " NO " ) ; } }