Driver Code
public static void main ( String args [ ] ) { int arr [ ] = { 2 , 3 } ; int cap [ ] = { 5 , 6 } ; int N = arr . length ; System . out . println ( maxShiftArrayValue ( arr , cap , N ) ) ; } }