s, f = map(int,input().split(' '))#現在いる段数s,一階層分段数f if s%f >= 0:#2階以上にいる場合 print(s//f+1) else:#1階にいる場合 print(1)