import math a, b = map(int,input().split()) print(str(math.ceil((a+1)/b)))