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

cnt = 0

while h > 0:

    h -= a

    cnt += 1

print(cnt)

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

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

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

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