h,a = [int(x) for x in input().rstrip().split()]

if h%a==0:

    print((h//a))

else:

    print(((h//a)+1))
H,A=[int(x) for x in input().rstrip().split()]



if H%A==0:

  print((H//A))

else:

  print((H//A+1))

h, a = [int(x) for x in input().rstrip().split()]
if h % a == 0:
    print((h // a))
else:
    print(((h // a) + 1))

H, A = [int(x) for x in input().rstrip().split()]
if H % A == 0:
    print((H // A))
else:
    print((H // A + 1))

-h, a = [int(x) for x in input().rstrip().split()] -if h % a == 0: -    print((h // a)) +H, A = [int(x) for x in input().rstrip().split()] +if H % A == 0: +    print((H // A)) -    print(((h // a) + 1)) +    print((H // A + 1))