Function to rearrange array elements such that the every two consecutive elements is a multiple of 4
function Permute ( arr , n ) { let odd = 0 , four = 0 ; let non_four = 0 ; let ODD = [ ] ; let FOUR = [ ] ; let NON_FOUR = [ ] ; for ( let x = 0 ; x < arr . length ; x ++ ) {