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

i = 0

while i < 10**4:

    i += 1

    h = h - a

    if h <= 0:

        print(i)

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

print((h//a + (h%a!=0))) 
h, a = list(map(int, input().split()))
i = 0
while i < 10**4:
    i += 1
    h = h - a
    if h <= 0:
        print(i)
        break

h, a = list(map(int, input().split()))
print((h // a + (h % a != 0)))

-i = 0 -while i < 10**4: -    i += 1 -    h = h - a -    if h <= 0: -        print(i) -        break +print((h // a + (h % a != 0)))