#include <iostream>
int main()
{
unsigned short int smallNumber;
smallNumber = 65535;
std::cout << "small number:" << smallNumber << std::endl;
smallNumber++;
std::cout << "small number:" << smallNumber << std::endl;
smallNumber++;
std::cout << "small number:" << smallNumber << std::endl;
short int smallNumber1;
smallNumber1 = 32767;
std::cout << "small number:" << smallNumber1 << std::endl;
smallNumber1++;
std::cout << "small number:" << smallNumber1 << std::endl;
smallNumber1++;
std::cout << "small number:" << smallNumber1 << std::endl;
return 0;
}
small number:65535
small number:0
small number:1
small number:32767
small number:-32768
small number:-32767