text: Driver Code
code: public static void Main ( String [ ] args ) { List < String > A = new List < String > ( ) ; A . Add ( " adc " ) ; A . Add ( " aec " ) ; A . Add ( " erg " ) ; String S = " ac " ; Console . Write ( countWays ( A , S ) ) ; } }