Driver Code
static public void Main ( ) { for ( int i = 0 ; i < 151 ; i ++ ) { v . Add ( new List < long > ( ) ) ; v [ i ] . Add ( 0 ) ; v [ i ] . Add ( 0 ) ; } v [ 0 ] [ 0 ] = 15 ; v [ 0 ] [ 1 ] = 153 ; v [ 1 ] [ 0 ] = 135 ; v [ 1 ] [ 1 ] = 17 ; n = 2 ; m = 2 ; long x = 3 ;