#coding: utf-8 #yuki_386 import math s,f=map(int,raw_input().split()) res=int(math.ceil(1.000001*s/f)) if s==0: res=1 elif s==f: res=2 print res