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