s=input().split() a=(s[0]) a=int(a) b=(s[1]) b=int(b) ss=a//b+1 sb=a//b+1+1 if a-a//b*b <=1: print(ss) else: print(sb)