peterverebics/CodeNet_Python_118 huggingface dataset:
H, A = map(int,input().split())
count = 1

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

H, A = map(int, input().split())
ans = math.ceil(H / A)

print(ans)
import sys
import math

def main():
    h, a = [int(x) for x in sys.stdin.readline().split()]
    print(int(math.ceil(h / a)))

if __name__ == '__main__':
    main()
H, A = map(int, input().split())


if H % A == 0:
    count_e = H//A 
    print(count_e)

elif H < A:
    count_u =  1
    print(count_u)
    
elif  H % A != 0:
    count_o = H // A + 1
    print(count_o)
h,a = map(int, input().split())

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

Q = H//A
R = H%A

if R == 0:
    print(Q)
else:
    print(Q+1)
# Serval vs Monster
H, A = map(int, input().split())
ans = (H // A) + min(1, H % A)
print(ans)
H,A=list(map(int, input().split()))

print((H-1)//A+1)
import math

H, A = (int(i) for i in input().split())
print(math.ceil(H/A))
h,a = map(int,input().split())

k = 0 

while h > 0:
	h = h - a
	k += 1

print(k)
h,a = [int(x) for x in input().split()]
i = 0
while h > 0:
    h -= a
    i += 1
print(i)
# coding: utf-8
H,A=map(int,input().split())

ans=-(-H//A)
print(ans)
h,a = map(int,input().split())
if h % a == 0:
    ans = h // a
else:
    ans = h // a + 1
print(ans)
h, a = map(int, input().split())
c = h//a
if h%a == 0:
    print(c)
else:
    print(c+1)
import math

a,b = map(int, input().split())
print(math.ceil(a/b))
H,A=map(int,input().split())
print(H//A+min(H%A,1))
h,a = map(int,input().split())
ans = 0
while h > 0:
    h -= a
    ans += 1
    
print(ans)
h, a = map(int, input().split())

i = 0

while h > 0:
  h -= a
  i += 1

print(i)
h,a = map(int,input().split())
if h <= a :
    print(1)
else :
    print((h//a)+1)
a,b=map(int,input().split())

print(a//b+1)
h, attack = map(int, input().split())
if h%attack != 0:
  ans = h//attack + 1
else:
  ans = h/attack
  
print(ans)
import math
h,a=map(int,input().split())
print (math.floor(h/a))
h, a = map(int, input().split())
if h <= a:
  print(1)
  quit()
c = 0
while h > a:
    c += 1
    a += a
print(c)
H, A = map(int,input().split())
print(H//A +1)
h, a = map(int, input().split())
print((h + a - 1) / a)
H,A = map(int,input().split())
print(H // A + 1)
h, a = map(int, input().split())

n = 0
while h <= 0 :
  h - a
  n += 1
  
print(n)
H,A = map(int,input().split())

"""
count = 0

while H > 0:
    H -= A
    count +=1

print(count)

"""
h, a = map(int,input().split())
print(int(h/a)+1)
h,a=map(int,input().split())
x=h//a
print(x+1)
H,A=map(int,input().split())
if H%A==0:
    print(H//A)
else:
    print((H/A)+1)
h,a = map(int,input().split())

ans=(h+a-1)/a
print(ans)
a,b=input().split()
a=int(a)
b=int(b)
if a%b==0:
  print(a/b)
else:
  print(int(a/b+1))
H,A = map(int,input().split())
count = H%A + 1
print(count)
import math
h, a = list(map(int, input().split())) 
print(math.floor(h/a))
h, a = map(int, input().split())

n = h/a

if n != 0:
  print(n+1)
else :
  print(n)
A = list(map(int, input().split()))
print(int(A[0]/A[1]) + 1)
H, A = map(int, input().split())
print(H // A + 1)
H, A = map(int, input().split())

print(H // A + 1)
H,A=map(int,input().split())
B=0
C=0
for i in range(0,H):
    B=B+A
    if B<=H:
        C=C+1
        print(C)
        break
    else:
        C=C+1
h,a=map(int,input().split())
l=0
while h>=0:
    h = h-a
    l += 1
print(l)
H,A = map(int, input().split())
count = 0

for i in range(10000):
    if i*A <= H:
        i += 1
        count += 1
    else:
        break
print(count)
h, a = map(int, input().split(" "))
print((h // a) + 1)
h, a = [int(i) for i in input().split()]
print(h//a + 1 if h % a > 0 else 0)
h,a=map(int,input().split())
print(h//a+1)
H, A = map(int, input().split(" "))

print(H//A+1)
H, A = map(int, input().split())
print(int(H/A)+1)
h,a = map(int,input().split())
b = h/a
if b%1 == int(0):
    print(b)
elif b%1 < 0:
    print(1)
else:
    print(b//1)
H, A = map(int, input().split())

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

for i in range(2 * 10**6):
  continue
h,a = map(int,input().split())
if h%a==0:
    print(h//a)
else:
    print(h//a)
# = int(input())
# = map(int, input().split())
# = list(map(int, input().split()))
# = list(input())
# = [tuple(map(int, input().split())) for _ in range(n)]

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

print(h // a)
a, b = list(map(int, input().split()))
c = a % b
if a <= b:
  my_result = 1
else:
  my_result = (a - c) / b + 1
print(int(my_result))
import math
A,H= map(int, input().split())
print(math.ceil(H/A))
H, A = map(int, input().split())

a = round(H/A)
if a != 0: a += 1
print(a)
h,a = map(int,input().split())
ans=0
if a>1:
    ans= h//a+1
elif a==1:
    ans=h
print(ans)
H,A=map(int,input().split())

print(H//A+1)
H, A = map(int, input().split())
i = 0

while H>=0:
    H = H-A
    i += 1

print(i)
h, a = map(int, input().split())
print((h+a-1)/a)
class Main:
  s = list(map(int, input().split()))
  h = s[0]
  a = s[1]
  cnt = 1
  if h <= a:
    print(cnt)
  else:
    while h > a:
        h -= a
        cnt += 1
  print(cnt)
h, a = list(map(int, input().split(' ')))
ans = 0
while h > 0:
  h -= a
  ans =+ 1
print(ans)
a = list(map(int,input().split()))

for i in range(10**4):
  if a[1]*i > a[0]:
    break
    
print(i)
H, A = map(int, input().split())

if H % A == 0:
  print(H / A)
  
elif H % A != 0:
  print(H / A +1)
H,A=map(int,input().split())

print((H+1)//A+1)
h, a = map(int, input().split())

print(h // a +1)
H , A = map(int, input().split())
ans = 0
while(H >= 0):
  H = H - A
  ans + 1
print(ans)
h,a=[int(x) for x in input().split()]
print(h//a + 1)
h, a = map(int, input().split())

if a>=h:
	print(1)
else:
	c = h//a
	print(c+1)
H, A = map(int, input().split())
ans = H // A + 1
print(ans)
h , a = map(int , input().split())

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

print(N[0]//N[1] +1)
A, H = map(int,input().split())

if H % A == 0:
	print(H//A)
else:
	print(H//A+1)
h,a=map(int,input().split())
n=h/a
ans=int(n)+1
print(ans)
H, A = map(int, input().split())

if H%A == 0:
  print(H/A)
else:
  print(int(H/A) +1)
a,b=input().split()
a=int(a)
b=int(b)
if a/b <= 1:
  print(1)
else :
  print(int(a/b)+1)
H, A = map(int, input().split())

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

print(int(H/A)+1)
h, a = (int(i) for i in input().split())
print((h//a)+1)
H,A =map(int,input().split())
print((H//A)+1)
import math

H, A = map(int, input().split())
ans = H % A
mod = H // A

if A == 1:
    print(math.floor(H/A))
else:
    if mod == 0:
        print(ans)
    else:
        print(ans+1)
H,A=input().split()
H,A=int(H),int(A)
if max(A,H)<=10000 and min(A,H)>=1:
    print((int(H)//int(A)+1))
H,A = map(int,input().split())
print(H//A + 1)
h,a=map(int,input().split())

i=h%a

t=h-i
print(int(t/a+1))
import math
H,S = input().split()
H1 = int(H)
S1 = int(S) 
N = 0
i=1
N = math.floor(H1/S1)
print(N+1)
H, A = map(int, input().split())
if H%A==0:
    print(H//A+1)
else:
    print(H//A+1)
h, a = list(map(int, input().split()))
if h > a:
  print(h // a + 1)
else:
  print(1)
H = 10
A = 2

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

#h = int(input())
#a = int(input())

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

print(math.ceil((h+a)/a))
def get(text,n):
    ans = [""]*n
    i = 0
    for x in text:
        if x==" ":
            i = i + 1
        ans[i] = ans[i]+x
    return ans

text = input()
H = int(get(text,2)[0])
A = int(get(text,2)[1])

print(H//A+1)
base = input().split()
h = int(base[0])
a = int(base[1])
print((h//a)+1)
h,a=map(int,input().split())

ans=0
while h>=0:
    h-=a
    ans+=1


print(ans)
#python3
from numpy import ceil
h, a = map(int, input().split())

print(ceil(h/a))
a,b=map(int,input().split())
if a%b==0:
    print(a/b)
else:
    print(int(a/b)+1)
h, a = map(int, input().split(' '))
print(h // a + 1)
h,a = map(int,input().split())
print(h // a + 1)
a,b=input().split()
a=int(a)
b=int(b)
if a%b==0:
  print(a/b)
else:
  print(int(a/b)+1)
import math

H, A = map(int, input().split())
print(math.ceil(10 / 4))
h, a = map(int, input().split())
print((h+1)//a)
def serveal_monter(input):
  H, A = input.split(" ")
  H = int(H)
  A = int(A)
  if H % A > 0:
    return (H // A) + 1
  return H // A
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

print(h // a + 1)
H, A = map(int, input().split())
cnt = 0
while H<=0:
    H //= A
    cnt += 1

print(cnt+1)
H, A = (int(x) for x in input().split())

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

print(h // a + 1)
import sys

def main():
    # sys.stdin = open('input153a.txt')
     
    h, a = map(int, input().split())

    print(h // a + 1)

if __name__ == '__main__':
    main()
h, a = map(int, input().split())

if h % 2 == 0:
  	print(h // a)
else:
	print(h // a + 1)
h, a = map(int, input().split())

print(h//a+1)
H,A = map(int, input().split())
# N = int(input())
# s = int(input())
# C = int(input())
# s= input()
i=0
while H < 0:
    H - A
    i += 1
print(i)
h,a=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)
H,A=map(int,input().split())
if H%A==0:
  print(H/A)
else:
  print(H//A+1)
H,A=map(int,input().split())
if H%A==0:
    print(H//A)
else:
    print((round(H/A,0))+1)
H_str, A_str = input().split(' ')

print(int(H_str) // int(A_str) + 1)
# -*- coding: utf-8 -*-
import math

n = input().split(" ")
h = int(n[0])
a = int(n[1])

def main(health, attack):
    total = health / attack
    return math.ceil(total)


if __name__ == '__main__':
    main(h, a)
a, b = map(int, input().split()  ) #split()で分解したものを別々の変数に入れる

result = a // b + 1
print(result)
s = input().split()

ans = (int(s[0]) // int(s[1])) + 1
print(ans)
the_string = input()
a, b = the_string.split()
a = int(a)
b = int(b)
if a%b == 0:
    ans = a/b
else:
    ans = a/b +1
print(ans)
h,a = map(int,input().split())

for i in range(10000):
  h -= a
  if h <= 0:
    break
print(i)
H,A=map(int,input().split())
cnt=0
while H >= 0:
  cnt=cnt+1
  H=H-A

print(cnt)
N,A=map(int, input().split())
print((N+2)//A)
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
h,a = iim()


print((h+1)//a)
i = input()
a,b = map(int, i.split())
cnt = 1

while(a>b) :
    a -= b
    cnt +=1

    if(a <= b):
        print(cnt)
        break
H,A=map(int, input().split())

count = 0;

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

ans = int(s[0]) // int(s[1]) + 1
print(ans)
h,a = map(int, input().split())
print(1 if h<a else (h%a+h)//a)
H,A = map(int,input().split())

if H % A == 0:
  	print(H/A)
else:
	print((H//A)+1)
input_val = input().split()
H=int(input_val[0])
A=int(input_val[1])

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

def attack(l):
    H = l[0]
    A = l[1]
    cnt = 0
    while H >= 0:
        H = H - A
        cnt += 1
    return cnt

print(attack(l))
H,A = map(int,input().split())
ans = H / A if H % A == 0 else H // A+1
print(ans)
h,a=list(map(int ,input().split()))
if(h<a):
    print(1)
elif(h>a):
    attack=h/a
    print(int(attack+0.5))
elif(h==a):
    print(0)
a,b=map(int,input().split())
c=(int(a/b))+1
print(c)
h, a = map(int, input().split())
cnt = 0

while h >= 0:
    h -= a
    cnt += 1

print(cnt)
h, r = map(int, input().split())

print(max(h // r + (1 if h // r == 0 else 0), 1))
a,b=map(int,input().split())
print(b//a+1)
hp,att=map(int,input().split())
print((hp+att-1)/att)
a,b = map(int,input().split(' '))
if a == 0:
    print(0)
else:
    if a % b == 0:
        print(int(round(a / b)))
    else:
        print(int(round(a / b)) + 1)
x,y = map(int,input().split())
print(x//y+1)
H, A = (int(x) for x in input().split())

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

if H > A:
    print(H//A+1)
else:
    print(1)
h, a = map(int, input().split())
hensu = h-h%a
print(hensu/a)
a,b=input().split()
a=int(a)
b=int(b)
if a%b==0:
  print(a/b)
else:
  print(int((a/b)+1))
H, A=map(int,input().split())
count = 0
while(H>=0):
  H -= A
  count += 1
print(count)
#!/usr/bin/env python3
import numpy as np


DEBUG = True
dprint = print if DEBUG else lambda *x : x

H, A = [int(str) for str in input().strip().split()]

print(round(H / A + 0.5))
n,m=list(map(int,input().split()))

val=n/m+0.5
print(int(val))
H,A=input().split()
S=1
if int(H)-S*int(A)>=0:
  S+=1
else:
  print(S)
i = list(map(int, input().split()))
if i[0] % i[1] > 0:
  print(i[0] / i[1] + 1)
else:
  print(i[0] / i[1])
input1 = list(map(int,input().split()))
H = input1[0]
A = input1[1]
print(int(H % A) + 1)
H, A = list(map(int, input().split()))
if A == 1:
    print(H//A)
else:
    print(H//A + 1)
h,a = map(int,input().split())

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

def attack(l):
    H = l[0]
    A = l[1]
    cnt = 0
    while H >= 0:
        H = H - A
        cnt += 1
    print(cnt)
h,a=map(int,input().split())
ans=h//a
if h%a!=0:
  ans+=1
print()
h,a = map(int,input().split())

if(h % a == 0):
    ans = h / a
    print(ans)
else:	
    ans = h // a
    ans += 1
    print(ans)
c,d=(int(x) for x in input().split())
a=c//d+1
print(a)
import math

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

print (math.ceil(H // A))
a,b = map(int,input().split(' '))
if a % b == 0:
    print(int(round(a / b)))
else:
    print(int(round(a / b)) + 1)
H, M = map(int, input().split())
print(int((H+M-1))/M)
h,a = map(int, input().split())
print(h % a + 1)
H, A = map(int, input().split())
count = 0

while(H >= 0):
    H = H - A
    count = count + 1

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

times = h // a
if h % a != 0 :
    times = 1
print(times)
[h, a] = input().split()
h = int(h)
a = int(a)
print(h // a + 1)
h, a = map(int, input().split())
division = h // a 
if h > a and a != 1:
  print(int(division+1))
elif h > a and a == 1:
  print(division)
elif h < a or h == a:
  print(h//a)
h,a = map(int,input().split())
print(int((h//a) + 1))
h,a = map(int,input().split())

if h == 1 or a == 1:
  print(h)
else:
  print(h%a +1)
import sys
 
for line in sys.stdin:
    h, a = list(map(lambda x: int(x), line.split()))
    print((h // a) + 1)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import math
import string


def inputIntList():
  return [int(s) for s in input().split()]


def inputInt():
  return int(input())


def main():
  H, A = inputIntList()
  ans = math.floor(H / A)

  return ans


if __name__ == "__main__":
  print(main())
h,a = map(int,input().split())

if h % a == 0:
  print(h / a)
else :
  print(h // a + 1)
import math
H, A = map(int, input().split())
print(int(math.floor(H/A)+1))
x,y = map(int,input().split())

z = x/y
if(x%y==0):
  print(z)
else:
  print(z+1)
h,a = map(int, input().split())
print(int(h/a)+1)
h, a = map(int, input().split())
for i in range(a):
  if h <= a * i:
    print(i)
s = input().split()
de = int(s[0])
count = 0

while de >= 0:
    de = int(de) - int(s[1])
    # print(de)
    count += 1

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

print(math.ceil(a / h))
h,a=map(int,input().split())
print(h//a +1)
h, a = input().split()
H = int(h)
A = int(a)
ans = 0
for i in range(H):
  if H >= 0:
    ans = ans + 1
    H = H - A
  else:
    break
print(ans)
h, a = input().split()
print(int(int(h)/int(a)) + 1)
h,a=map(int,input().split(" "))

if h%a==0:
  print(h/a)
else:
  print(h//a+1)
h, a = map(int, input().split())

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

if(h <= a):
  print("1")
elif(a == 1):
  print(h)
else:
  if(h % a == 0):
    ans = h / a
    print(ans)
  else:	
    ans = h // a
    ans += 1
    print(ans)
h, a = map(int, input().split())
print(h//a+1)
h,a=map(int,input().split())
cnt=0
while():
  h=h-a
  if h>=0:
    cnt+=1
  else:
    print(cnt)
h,a=map(int,input().split())
i=0
while True:
    i+=1
    h-=a 
    if h<0:
        break


print(i)
H,A=map(int,input().split())
k=H//A
print(k+1)
H,A=map(int,input().split())
a=H%A
print(int((H+a)/A))
n,p = map(int, input().split())
count = 0
if (n>0):
    n = n-p
    count = count +1
print(count)
H,A=map(float,input().split())

if H%A==0:
    print(H/A)
else:
    print(int(H/A)+1)
A,B = map(int,input().split())
print(int(A/B))
H, A = map(int, input().split())
if H<A:
    print(1)
else:
    if H//A == 0:
        print(H//A)
    else:
        print(H//A + 1)
import sys
from fractions import gcd
from itertools import permutations, combinations, accumulate
from collections import deque
from heapq import heappush, heappop, heapify
import math

input = sys.stdin.readline
sys.setrecursionlimit(10**6)

MOD = 10**9 + 7

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



if __name__ == '__main__':
    main()
a = list(map(int,input().split()))
y=0
if a[1]>a[0]:print(a[0])

else:
    for i in range(a[0]):
        a[0] = a[0]-a[1]
        y+=1
        if a[0]<=0:
            print(y)
            break
h,a=map(int,input().split())
if h%a==0:
  x=h/a
  print(x)

else:
  x=h//a
  print(x+1)
import numpy as np
H, A =map(int, input().split())
print(np.ceil(H / A))
h, a = map(int,input().split())
print(h//a+1)
H, A = map(int, input().split())
print(int(H/A))
N,A=map(int, input().split())
print((N//A)+1)
h, a = list(map(int,input().split()))

if(h%a == 0):
    print(h/a)
else:
    print(h//a + 1)
the_string = input()
a, b = the_string.split()
a = int(a)
b = int(b)
ans = a/b + 1
print(ans)
def monster(h,a):
  c = 0
  while h>0:
    h = h - a
    c += 1
  return c
h,a = map(int,input().split())

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

i=h%a

t=(h-i)/a

print(t+1)
h,a = map(int,input().split())
if a>h:
  att = 1
else:
  if h%a==0:
    att = h/a
  elif h%a!=0:
    att = (h//a)+1
print(att)
h,a=map(int,input().split())

print(h//a+1)
#input
H, A = map(int, input().split())

#output
answer = H // A
if H - H //A > 0:
    answer += 1

print(answer)
H,A = map(int,input().split())
n = 0
while H<= 0:
  H -= A
  n += 1
print(n)
h,a=map(int,input().split())
i=0
while h-a*i>=0:
  i+=1
print(i)
H,A=map(int,raw_input().split())
ans=0
for i in range(1,10000):
  if H-A>=0:
    ans += 1
  else:
    break
print ans
import sys

def propare():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    H = int(next(tokens))
    A = int(next(tokens))

    solve(H, A)

def solve(H: int, A: int):
    count = 0
    while 1 < H:
        count = count + 1
        H = H - A

    print(count)

    return


 
if __name__ == "__main__":
    propare()
h,a = map(int, input().split())
            
ans = 0
while h >= 0:
    h= h-a
    ans += 1

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

if(h<a):
  print("1")
elif(h%a != 0):
  print(h/a+1)
else:
  print(h/a)
h,a =map(int,input().split())
if h % a == 0:
  print(h // a)
else:
  (h // a +1)
h,a = map(int,input().split())
ans = h // a
print(ans+1)
H,A = map(int,input().split())
cnt = 0
while (H>=0):
    H=H-A
    cnt += 1
print(cnt)
h, a = map(int, input().split())

if h % a == 0:
  n = h
else:
  n = int((h / a)) + 1
print(n)
H,A=map(int,input().split())
print((H//A)+1)
n,k, *h = map(int,open(0).read().split())
h.sort 
if n<=k:
  print(0)
else:
  a = h[:n-k]
  print(sum(a))
H,A = map(int, input().split())

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

K = N/M

print(K+1)
a,b=(int(x) for x in input().split())

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

print(h//a+1)
h,a = map(int, input().split())
print(h/a if h%a == 0 else h//a + 1)
h,a = map(int, input().split())
# U = input()
ans = 0

# print((a-1,b) if (s[0]==u) else a,b-1)
while True:
    h -= a
    if h<0:
        break
    ans+=1

print(ans)
a,b=list(map(int,input().split()))
count=0
while (a<0):
  count+=1
  a-=b
print(count)
def main():
    
    h,a = map(int, input().split())

    if h%a== 0:
        print(h//a)
    else:
        print(h%a+1)


if __name__ == '__main__':
    main()
H, A = input().split()
H = int(H)
A = int(A)

print(H % A + 1)
H, A = map(int, input().split())

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

else:
  x=h//a
  print(x+1)
h, a = map(int, input().split())
ans = 0 

while h >= 0:
    h -= a
    ans += 1

print(ans)
H, A = map(int, input().split())
print((H + A - 1) / A)
H,A=map(int,input().split())
a=int(H/A)
if H>=A:
    print(H)
else:
    print(a+1)
H,A=map(int,input().split())
num=H//A+1
print(num)
h,a = map(int,input().split())
print(h//a+1)
a,b=map(int,input().split())
import math

print(math.ceil(a//b))
from math import floor
h,a = map(int,input().split())
print(floor(h//a))
h,a=map(int,input().split())
if h%a==0:
  print(h/a)

else:
  print((h//a)+1)
h,d = list(map(int, input().split()))
print((h//d)+1)
h, a = list(map(int, input().split()))
print(h//a+1)
H, A = map(int,input().split())

print(H // A + 1)
H,A = map(int,input().split())

if H % A != 0:
  print(H//A)
  
elif H % A == 0:
  print(H/A)
str = input()
nums  = str.split()
if nums[0] == "0" or nums[1] == "0":
     print("error")
else:
    turn = float(nums[0]) / float(nums[1]) + 0.9
    print(int(turn))
h,a = map(int,input().split())

if h%a == 0:
    print(h%a)

else:
    print(h%a+1)
H,A=map(int,input().split())

count=0

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

ans = H//A+1

print(ans)
h,a=input().split()
h,a=[int(h),int(a)]
ans=1+((h-1)/a)
print(ans)
h,a = map(int,input().split())
count = 0
for i in range(10000):
    h -= a
    count += 1
    if h < 0:
        break    
print(count)
h,a=map(int,input().split())
if h%a==0:
  print(h/a)
else:
  print(h//a+1)
def main():
    H,A = list(map(int,input().split()))
    # H: 体力
    # A: 攻撃
    count = 0
    for _ in range(pow(10,4)):
        H -= A
        count += 1
        if (H < 0):
            break
    print(count)

if __name__ == "__main__":
    main()
h,a=map(int,input().split())
print((h//a) +1) if a!=1 else print(h)
H, A = map(int, input().split())
print(H // A if H == A else (H // A) + 1)
h, a = list(map(int, input().split()))
print(h % a + 1)
from math import floor
h,a = map(int,input().split())
print(floor(h//a)+1)
x, y = map(int, input().split())
if x <= y:
    print(1)
else:
    print(x//y+1)
H, A = map(int, input().split())
n = H+A-1//A
print(n)
hp, attack = map(int, input().split())

cnt = 0
while hp >= 0:
    hp -= attack
    cnt += 1
    
print(cnt)
import sys
 
for line in sys.stdin:
    h, a = list(map(lambda x: int(x), line.split()))
    hits = h // a
    if h % a and a > 0:
        print(hits)
    else:
    	print(hits + 1)
a, b = list(map(int, input().split()))
c = a % b
if c == a:
  my_result = 1
else:
  my_result = (a + c) / b
print(int(my_result))
import math
h, a = map(int, input().split())
print(math.ceil(h//a))
H, A = map(int, input().split())

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

count = h//a + 1

print(count)
#入力
H, A = map(int, input().split())

#出力
s = 0
counter = 1
while counter>0:
    if H - A >=0:
        H = H - A
        s = s + 1
        counter = counter
    else:
        H = H - A
        s = s
        counter = counter - 1
        print(s)
h,a = map(int,input().split())
n = 0
while h > 0:
  n += 1
  h -= a
H, A = map(int, input().split())

print(H//A+1)
H, A = map(int, input().split())
ans = int(H/A) + int(H%A)
print(ans)
H, A = map(int, input().split())

num = 0
while True:
    H -= A
    num += 1
    if H < 0:
        break

print(num)
H,A=map(int,input().split())
a=H%A
print((H+a)/A)