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

count = 0



for i in range(10000):

    if i*A >= H:

        break

    else:

        i += 1

        count += 1

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



print((-(-H//A)))

H, A = list(map(int, input().split()))
count = 0
for i in range(10000):
    if i * A >= H:
        break
    else:
        i += 1
        count += 1
print(count)

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

-count = 0 -for i in range(10000): -    if i * A >= H: -        break -    else: -        i += 1 -        count += 1 -print(count) +print((-(-H // A)))