Driver Code
public static void Main ( String [ ] args ) { int [ ] a = { 1 , 2 , 3 , 4 , 5 } ; int [ ] b = { 5 , 4 , 3 , 2 , 1 } ; int x = 3 , y = 3 ; Console . Write ( solve ( 0 , x , y , a , b , n ) ) ; } }