If remainder is '1' , we have to delete either one element of remainder '1' or two elements of remainder '2'
if ( remainder == 1 ) { int [ ] rem_2 = new int [ 2 ] ; rem_2 [ 0 ] = - 1 ; rem_2 [ 1 ] = - 1 ;