strano sicuro che arrivi a 27000 ?

dovresti poter arrivare fino a 32767 partendo da - 32768