# This tests small int range for 32-bit machine
a = 0x3fffff
print(a)
a *= 0x10
a += 0xff
# This would overflow
#a += 1
a = -0x3fffff
a -= 0xff
# This still doesn't overflow
a -= 1
#a -= 1