int in java is 32-bit signed number ,the maximum signed number is 2147483647.when the last bit of the input number is '1' and we reverse bits,it will become negative number ,how can we return a positive int number and the number must be larger than 2147483647?