Print positions in second half of palindrome
for ( var i = MAX - 1 ; i >= 0 ; i -- ) { var count = pos [ i ] . length ; for ( var j = count / 2 ; j < count ; j ++ ) document . write ( pos [ i ] [ j ] + " " ) ; } }