a = 2 b = -10 import math if b / a >= 0: print(math.ceil(b // a + 1)) else: print(math.ceil(b // a - 1))