Driver Code
public static void Main ( String [ ] args ) { int X = 10 , Y = 30 ; if ( canReach ( X , Y , 0 ) ) { Console . Write ( " YES " + " STRNEWLINE " ) ; } else Console . Write ( " NO " + " STRNEWLINE " ) ; } }