Driver code
public static void Main ( String [ ] args ) { String str = " geeksforgeeks " ; if ( isPossible ( str . ToCharArray ( ) ) ) Console . WriteLine ( " Yes " ) ; else Console . WriteLine ( " No " ) ; } }