s,f = map(int,input().strip().split()) if s == f: print(int(2)) elif (s > f): if round(s/f) >= s/f: print(round(s/f)) else: print(round(s/f) + 1) else: print(int(1))