Why is everyone putting up programs to solve this.

2 bytes contain 2 x 8 = 16 bits. This can store 2 to the power of 16 pieces of information = 65536. With the signed short, one bit is used for the sign, one for zero, so 65534 are left for other numbers. 65536 divided by 2 is 32767. The smallest number that can be stored is -32767, the largest +32767

With the unsigned short, one bit is used for zero, so 65536 - 1 are left of other numbers. The largest number that can be stored is 65535

Am I missing something?