h, a = list(map(int, input().split()))



ans = 0



while h > 0:

    h -= a

    ans += 1



print(ans)
h, a = list(map(int, input().split()))

ans = 1 + (h - 1) // a



print(ans)

h, a = list(map(int, input().split()))
ans = 0
while h > 0:
    h -= a
    ans += 1
print(ans)

h, a = list(map(int, input().split()))
ans = 1 + (h - 1) // a
print(ans)

-ans = 0 -while h > 0: -    h -= a -    ans += 1 +ans = 1 + (h - 1) // a