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

count=0

while(H>0):

   H-=A

   count+=1

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

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

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

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