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

l=0

while h>0:

    h = h-a

    l += 1

print(l)
H, A = list(map(int, input().split()))

print((H//A if H % A == 0 else H//A+1))
h, a = list(map(int, input().split()))
l = 0
while h > 0:
    h = h - a
    l += 1
print(l)

H, A = list(map(int, input().split()))
print((H // A if H % A == 0 else H // A + 1))

-h, a = list(map(int, input().split())) -l = 0 -while h > 0: -    h = h - a -    l += 1 -print(l) +H, A = list(map(int, input().split())) +print((H // A if H % A == 0 else H // A + 1))