qyliang/CodeNanoFix huggingface dataset:
Buggy code:
import math
a, b = map(float, input().split())
x = a / b
if (x.is_integer() == False):
    print(math.ceil(x))
else:
    print(x)

Fixed code:
import math
a, b = map(float, input().split())
x = a / b
if (x.is_integer() == False):
    print(math.ceil(x))
else:
    print(int(x))
Buggy code:
H,A=map(float,input().split())

if H%A==0:
    print(H/A)
else:
    print(int(H/A)+1)






Fixed code:
H, A = map(int, input().split())

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

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


Fixed code:
h, a = map(int, input().split())

ans = 0
while h > 0:
    h = h - a
    ans += 1
print(ans)
Buggy code:
H,A=map(int,input().split())
cnt=0
while H >= 0:
  cnt=cnt+1
  H=H-A

print(cnt)

Fixed code:
H,A=map(int,input().split())
cnt=0
while H > 0:
  cnt=cnt+1
  H=H-A

print(cnt)
Buggy code:
h, a = list(map(int, input().split()))
print(h // a + 1)


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

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


print(ans)

Fixed code:
h, a = map(int, input().split())

cnt = 0
while h > 0:
    h = h - a
    cnt += 1
print(cnt)
Buggy code:
H,A=map(int,input().split())
attack=1
while H-(A*attack)>=0:
  attack+=1
print (attack)

Fixed code:
H,A=map(int,input().split())
attack=1
while H-(A*attack)>0:
  attack+=1
print (attack)
Buggy code:
h,a=map(int,input().split()) 
c=0
while(h>=0):
  h=h-a
  c=c+1 
print(c)
  


Fixed code:
h,a=map(int,input().split())
cnt=0
while h>0:
  h-=a
  cnt+=1
print(cnt)
Buggy code:
H, A = map(int, input().split())

if H % A == 0:
    print(H/A)
else:
    print(H/A + 1)


Fixed code:
H, A = map(int, input().split())

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

Fixed code:
h, a = map(int, input().split())
print(int((h+a-1)/a))
Buggy code:
H, A = map(int, input().split())

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

Fixed code:
H, A = map(int, input().split())

ans = 0
while H > 0:
  H -= A
  ans += 1
print(ans)
Buggy code:
H , A = int(input().split().)
count = 0
while H > 0:
    H -= A
    count +=1

print(count)


Fixed code:
H,A=map(int,input().split())
HP=H
count=0
while HP>0:
    count+=1
    HP-=A
print(count)
Buggy code:
from sys import stdin

x,y = [int(x) for x in stdin.readline().rstrip().split()]
 
z = x/y
if(x%y==0):
  print(z)
else:
  print(z+1)

Fixed code:
from sys import stdin

x,y = [int(x) for x in stdin.readline().rstrip().split()]
 
z = int(x/y)
if(x%y==0):
  print(z)
else:
  print(z+1)
Buggy code:
h,a=map(int,input.split())
cnt=0
while True:
    h-=a
    cnt+=1
    if h<=0:
        break
print(cnt)

Fixed code:
h,a=map(int,input().split())
cnt=0
while True:
    h-=a
    cnt+=1
    if h<=0:
        break
print(cnt)
Buggy code:
h, a = map(int, input().split())

print((h//a)+1)


Fixed code:
h, a = map(int, input().split())
print(((h-1)//a)+1)
Buggy code:
h,a = map(int,input().split())
print(h//a + (1-(h%a==0))


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

Fixed code:
a,b=map(int,input().split())
if a<=b:
    print(1)
elif a%b==0:
    print(int(a/b))
else:
    print(int(a/b)+1)
Buggy code:
import math
a,b=map(int,input().split())
if a%b==0:
    print(a/b)
else:
    print(int(a/b)+1)

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

Fixed code:
H, A = map(int, input().split())

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

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

Fixed code:
h, a = map(int, input().split())
if h%a == 0:
  print(int(h/a))
else:
  print(int((h//a) + 1))
Buggy code:
h,a=map(int,input().split())
if h%a!=0:
  n=int(h/a)+1
  print(n)
else:
  n-=1
  print(n)

Fixed code:
h,a=map(int,input().split())
if h%a!=0:
  n=int(h/a)+1
  print(n)
else:
  n=int(h/a)
  print(n)
Buggy code:
from sys import stdin

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


Fixed code:
from sys import stdin

H,A = [int(x) for x in stdin.readline().rstrip().split()]
if H%A==0:
    print(int(H/A))
elif A>H :
    print(1)
else :
    print(1+int(H/A))
Buggy code:
HP, A = map(int, input().split())

count = 0
while HP<0:
    HP = HP - A
    count += 1

print(count)

Fixed code:
HP, A = map(int, input().split())

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

print(count)
Buggy code:
H, A = map(int, input().split())
 
if A > H:
  print(1)
  
else:
  answer = H // A + 1
  print(answer)

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

Fixed code:
H, A = map(int, input().split())

if H % A == 0:
    print(H//A)
else:
    print(H//A+1)
Buggy code:
input_line = list(map(int,input().split()))
if input_line[0] % input_line[1]:
    result = input_line[0] // input_line[1]
else:
    result = input_line[0] // input_line[1] + 1

print(result)

Fixed code:
input_line = list(map(int,input().split()))
if input_line[0] % input_line[1] == 0:
    result = input_line[0] // input_line[1]
else:
    result = input_line[0] // input_line[1] + 1

print(result)
Buggy code:
H, A = map(int, input().split())

i = 0
while True:
    
    if H < 0:
        break
    H -= A
    i += 1
    
print(i)

Fixed code:
H, A = map(int, input().split())

i = 0
while True:
    
    if H <= 0:
        break
    H -= A
    i += 1
    
print(i)
Buggy code:
h,a = map(int,input().split())

if h<a:
  print(1)
else:
  print(h//a +1)

Fixed code:
h,a = map(int,input().split())

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

print(h // a +1)

Fixed code:
h,a=map(int,input().split())
print((h+a-1)//a)
Buggy code:
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 H < 1:
        count = count + 1
        H = H - A

    print(count)

    return


 
if __name__ == "__main__":
    propare()

Fixed code:
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 0 < H:
        count = count + 1
        H = H - A

    print(count)

    return


 
if __name__ == "__main__":
    propare()
Buggy code:
a,b=map(int,input().split())
i=0
while a>b:
  a-=b
  i+=1
print(i) 

Fixed code:
h,a = (map(int, input().split())) 
b=0

while h > 0:
	h = h-a
	b += 1
print(b)
Buggy code:
import math
 
H,A = list(map(int, input().split()))
 
print(math.ceil(H/A)

Fixed code:
from math import ceil
H,A = list(map(int, input().split()))

print(ceil(H/A))
Buggy code:
import math
A,H= map(int, input().split())
print(math.ceil(H//A))

Fixed code:
import math
 
H,A = list(map(int, input().split()))
 
print(math.ceil(H/A))
Buggy code:
def two_int():
    N, K = map(int, input().split())
    return N,K

def one_int():
    return int(input())

def one_str():
    return input()

def many_int():
    return list(map(int, input().split()))

N,M = two_int()

temp = N/M

if temp.is_integer():
    print(temp)
else:
    print(int(temp)+1)

Fixed code:
def two_int():
    N, K = map(int, input().split())
    return N,K

def one_int():
    return int(input())

def one_str():
    return input()

def many_int():
    return list(map(int, input().split()))

N,M = two_int()

temp = N/M

if temp.is_integer():
    print(int(temp))
else:
    print(int(temp)+1)
Buggy code:
H, A = map(int, input().split())


if H/A % 2 == 0:
    count_e = H/A
    print(int(count_e))
    
elif int(H/A) % 2 == 1:
    count_o = int(H/A) + 1
    print(count_o)
    
elif H < A:
    count_u =  1
    print(count_u)

Fixed code:
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)
Buggy code:
h,a=map(int,input().split())
cnt=0
while():
  h=h-a
  if h>=0:
    cnt+=1
  else:
    print(cnt)

Fixed code:
h,a=map(int,input().split())
cnt=0
while(h>0):
  h=h-a
  cnt+=1
print(cnt)
Buggy code:
import sys
 
for line in sys.stdin:
    h, a = list(map(lambda x: int(x), line.split()))
    hits = h // a
    if a % h and a > 0:
      return hits
    return hits + 1


Fixed code:
import sys
 
for line in sys.stdin:
    h, a = list(map(lambda x: int(x), line.split()))
    hits = h // a
    if h % a == 0 and a > 0:
        print(hits)
    else:
    	print(hits + 1)
Buggy code:
h,a=map(int,input().split())
cnt=1
while(h>=0):
  h=h-a
  cnt+=1
print(cnt)

Fixed code:
h,a=map(int,input().split())
cnt=0
while(h>0):
  h=h-a
  cnt+=1
print(cnt)
Buggy code:
H, A = map(int, input.split())
i = 0
while H > 0:
  H -= A
  i += 1
print(i)


Fixed code:
H, A = map(int, input().split())
s = 0
while H>0:
    H = H-A
    s = s+1
print(s)
Buggy code:
H, A = map(int, input.split())
i = 0
while H <= 0:
  H -= A
  i += 1
print(i)

Fixed code:
H, A = map(int, input().split())
i = 0
while H > 0:
  H -= A
  i += 1
print(i)
Buggy code:
h, a = map(int, input().split())
print( (h+a-1)/a )


Fixed code:
h, a = map(int, input().split())
print( int( (h+a-1)/a ) )
Buggy code:
H, A = map(int, input().split())

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

print(num)


Fixed code:
H, A = map(int, input().split())

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

print(num)
Buggy code:
H,A=map(int,input().split())
result=0
if H%A==0:
    result=H/A
else:
    result=H//A+1
print(result)

Fixed code:
H,A=map(int,input().split())
result=0
if H%A==0:
    result=H/A
else:
    result=H//A+1
print(int(result))
Buggy code:
h, a = map(int, input().split())
q, mod = divmod(h, a)
if mod != 0:
  print(q)
else:
  print(q+1)


Fixed code:
h, a = map(int, input().split())
q, mod = divmod(h, a)
if mod == 0:
  print(q)
else:
  print(q+1)
Buggy code:
h,a=map(int,input().split())
if h%a!=0:
    print((h//a)+1)
else:
    print(h/a)


Fixed code:
h, a = map(int, input().split()) 

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

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

print(cnt)


Fixed code:
h, a = map(int, input().split())
cnt = 0

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

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

Fixed code:
h, a = map(int, input().split())

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

print(ans)
Buggy code:
h,a = map(int, input().split())
print(-(h//a))

Fixed code:
h, a = list(map(int,input().split()))
print(-(-h // a))
Buggy code:
H, A = map(int, input().split())
print(H//A)

Fixed code:
H,A = map(int,input().split())
print(-(-H//A))
Buggy code:
h, a = [int(i) for i in input("").split(" ")]
print((h+a-1)/a)

Fixed code:
h, a = [int(i) for i in input("").split(" ")]
print((h+a-1)//a)
Buggy code:
import math
def resolve_A():
    H, A = map(int, input().split())
    if H % A != 0:
        print(math.ceil(H / A))
    else:
        print(H / A)
resolve_A()

Fixed code:
import math
def resolve_A():
    H, A = map(int, input().split())
    if H % A != 0:
        print(math.ceil(H / A))
    else:
        print(int(H / A))
resolve_A()
Buggy code:
h,a = map(int,input().split())
print(h//a+not not h%a)

Fixed code:
h,a = map(int,input().split())
print(h//a+(not not h%a))
Buggy code:
h,a = map(input().split())

print((h+a-1)//a)

Fixed code:
h,a = map(int, input().split())

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

Fixed code:
h, a = map(int, input().split())
print(h//a+1 if h%a != 0 else h//a)
Buggy code:
import math

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

Fixed code:
import math
H, A = map(int,input().split())
print(math.ceil(H / A))
Buggy code:
H,A = map(int, input().split)
answer_1 = H // A
answer_2 = H % A
if answer_2 == 0:
    print(answer_1)
else:
    print(answer_1 + 1)

Fixed code:
H,A = map(int, input().split())
if H % A == 0:
    print(H // A)
else:
    print(H // A + 1)
Buggy code:
H, A= map(int, input().split())
count=0

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

print(count)

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


print(count)
Buggy code:
from math import ceil()
H, A = map(int,input().split())

print(ceil(H/A))

Fixed code:
H, A = map(int, input().split())
from math import ceil
n = int(ceil(H/A))
print(n)
Buggy code:
h,a=map(int,input().split())
i=0
while True:
    i+=1
    h-=a 
    if h<0:
        break


print(i)

Fixed code:
h,a=map(int,input().split())
i=0
while True:
    i+=1
    h-=a
    if h<=0:
        break


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

Fixed code:
h,a = map(int,input().split())
if h%a == 0:
    print(h//a)
else:
    print((h//a)+1)
Buggy code:
N = input().split()
A = int(N[0]) % int(N[1])
B = int(N[0]) / int(N[1])
if A == 0:
    print(B)
else:
    print(int(B)+1)

Fixed code:
N = input().split()
A = int(N[0]) % int(N[1])
B = int(N[0]) / int(N[1])
if A == 0:
    print(int(B))
else:
    print(int(B)+1)
Buggy code:
h, a = (int(i) for i in input().split())

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

Fixed code:
h, a = (int(i) for i in input().split())

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

print(cnt)

Fixed code:
H, A = map(int, input().split())
cnt = 0

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

print(cnt)
Buggy code:
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)

Fixed code:
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(round(att))
Buggy code:
h,a=map(int,input().split()
ans=h//a+1
if h%a==0:
  ans-=1
print(ans)


Fixed code:
h, a = map(int, input().split())

if h%a==0:
    ans = h//a
else:
    ans = h//a + 1

print(ans)
Buggy code:
h,a=map(int,input().split())
ans=0
while h>a:
  h-=a
  ans+=1
print(ans)


Fixed code:
h,a = map(int,input().split())
ans = 0
while h>0:
  h-=a
  ans+=1
print(ans)
Buggy code:
H,A=map(int,input().split())
print(H//A+1)

Fixed code:
H, A = map(int, input().split())
print((H + A - 1) // A)
Buggy code:
H,A=map(int,input().split())

count=0

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

Fixed code:
H,A=map(int,input().split())

count=0

while (H >0):
    H -= A
    count+=1
else:
    
    print(count)
Buggy code:
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)

Fixed code:
l = list(map(int, input().split()))

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

print(attack(l))
Buggy code:
H,A = map(int,input().split())
a = H // A
if  H % ! != 0:
	print(a+1)
else:
  print(a)

Fixed code:
H, A = map(int, input().split())

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

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


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


Fixed code:
H,A=map(int,input().split())
B=H//A
if H%A==0:
    print(B)
else:
    print(B+1)
Buggy code:
H,A = map(int,input().split())

answer = 0
if H %A != 0:
  answer = H//A + 1
else:
  answer = H / A
  
print(answer)

Fixed code:
H,A = map(int,input().split())
 
answer = 0
if H %A != 0:
  answer = H//A + 1
else:
  answer = H / A
  
print(int(answer))
Buggy code:
h,a = map(int,input().split())
print(h//a + (h%a>0)

Fixed code:
h,a = map(int,input().split())
print(h//a + (h%a>0))
Buggy code:
h,a=map(int,input().split())
print((h//a)+1)

Fixed code:
h,a = map(int,input().split())
print(((h-1)//a)+1)
Buggy code:
a,b=map(int,input().split())
c=0
while a<=0:
  a-b
  c+=1
  a=a-b
print(c)

Fixed code:
a,b=map(int,input().split())
c=0
while a>0:
  a=a-b
  c+=1
print(c)
Buggy code:
h,a=map(int, input().split())
count = 0
while True:
  result = h - a
  if (result > 0):
    count += 1
  else:
    break 
print(count)

Fixed code:
h,a=map(int, input().split())
count = 0
while True:
  h = h - a
  if (h > 0):
    count += 1
  else:
    break
print(count + 1)
Buggy code:
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)

Fixed code:
H,A = map(int, input().split())
# N = int(input())
# s = int(input())
# C = int(input())
# s= input()
i=0
while H > 0:
    H  = H - A
    i += 1
print(i)
Buggy code:
# coding: utf-8
from math import floor
h, a = map(int, input().split())
print(floor(h / a))

Fixed code:
# coding: utf-8
from math import ceil
h, a = map(int, input().split())
print(ceil(h / a))
Buggy code:
h,a = map(int,inpit().split())
ans = 0
for k in range(100000000):
  h = h-a
  if h <=0:
    ans = k+1
    break
print(ans)

Fixed code:
h,a = map(int,input().split())
ans = 0
for k in range(100000000):
  h = h-a
  if h <=0:
    ans = k+1
    break
print(ans)
Buggy code:
H, A = map(int,input().split())
count = 0
while H >= 0:
    H -= A
    count += 1
print(count)

Fixed code:
H, A= map(int, input().split())
ans = 0
while H > 0:
    H -= A
    ans += 1

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

    if(h<a):
        print("1")
    elif(h%a != 0):
        print(h/a+1)
    else:
        print(h/a)

Fixed code:
h,a = map(int,input().split()) 

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

if H%A == 0:
  print(H/A)
else:
  print(int(H/A) +1)


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

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

if H%A==0:
  print(H/A)
else:
  print((H//A)+1)

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

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

print(cnt)

Fixed code:
cont=0
h,a = map(int,input().split())
while h>0:
  h-=a
  cont+=1
print(cont)
Buggy code:
h,a = map(int,input().split())
if h % a == 0:
    print(h / a)
else:
    print(h // a + 1)

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

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

Fixed code:
h, a = map(int, input().split())
print(int((h+a-1)/a))
Buggy code:
import sys


def main():
    tmp = input().split()
    h = int(tmp[0].replace('\n',''))
    a = int(tmp[1].replace('\n',''))
    n= h/a
    if (h%a >0):
        n+=1
    print(n)

if __name__ == '__main__':
    input = sys.stdin.readline
    main()


Fixed code:
import sys


def main():
    tmp = input().split()
    h = int(tmp[0].replace('\n',''))
    a = int(tmp[1].replace('\n',''))
    n= h/a
    if (h%a >0):
        n+=1
    print(int(n))

if __name__ == '__main__':
    input = sys.stdin.readline
    main()
Buggy code:
h,a=map(int,input().split())
if h%a==0:
  print(h/a)
else:
  print(h//a+1)

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

if h%a==0:
    print(int(h/a))
else:
    print(int(h/a)+1)
Buggy code:
h,a = map(int,input().split())
n = 0
while h > 0:
  n += 1
  h -= a

Fixed code:
h,a = map(int,input().split())
n = 0
while h > 0:
  n += 1
  h -= a
print(n)
Buggy code:
h,a=map(int,input().split())
count=0
while h>=0:
  h-=a
  count+=1
print(count) 

Fixed code:
h, a = map(int, input().split())
count = 0

while h > 0:
  count += 1
  h -= a
  
print(count)
Buggy code:
h,a=map(int,input().split())
ans=h//a
if h&a!=0:
    ans+=1
print(ans)


Fixed code:
h,a=map(int,input().split())
ans=h//a
if h%a!=0:
    ans+=1
print(ans)
Buggy code:
h,a=map(int,input().split())
s=h//a
t=h%a
if a==0:
    print(s)
else:
    print(s+1)

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

ans = 0
while (h >= 0):
    h -= a
    ans += 1
print(ans)


Fixed code:
h, a = map(int, input().split())

ans = 0
while (h > 0):
    h -= a
    ans += 1
print(ans)
Buggy code:
H,A = map(int,input().split())

if H % A != 0:
  print(H//A)
  
elif H % A == 0:
  print(H/A)

Fixed code:
H,A = map(int,input().split())

if H % A != 0:
  print(H//A + 1)
  
elif H % A == 0:
  print(H//A)
Buggy code:
i = list(map(int, input().split()))
if i[0] % i[1] > 0:
  print(i[0] / i[1] + 1)
else:
  print(i[0] / i[1]) 

Fixed code:
i = list(map(int, input().split()))
if i[0] % i[1] > 0:
  print(i[0] // i[1] + 1)
else:
  print(int(i[0] / i[1]))
Buggy code:
import math

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

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

print(math.ceil((h+a)/a))


Fixed code:
import math

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

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

print(math.ceil((h)/a))
Buggy code:
h,a = map(int,input().split())
cnt = 0
while h >= 0 :
    h -= a
    cnt += 1
print(cnt)



Fixed code:
h,a = map(int,input().split())
cnt = 0
while h > 0 :
    h -= a
    cnt += 1
print(cnt)
Buggy code:
h,a =map(int,input().split())
if h % a == 0:
  print(h // a)
else:
  (h // a +1)






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

Fixed code:
H,A = map(int, input().split())

if H>A:
    if H%A==0:
        print(H//A)
    else:
        print((H//A)+1)
else:
    print(1)
Buggy code:
from math import ceil
h,a=map(int,input().split())
print(h/a)

Fixed code:
import math

h, a = map(int, input().split())
print(math.ceil(h / a))
Buggy code:
h,a = map(int,input().split())

ans=h//a
if(h%a!=0):
    ans++
print(ans)


Fixed code:
h,a = map(int,input().split())

ans=h//a
if(h%a!=0):
    ans+=1
print(ans)
Buggy code:
H,A = (int(x) for x in input().split())
if H <= A:
  print(1)
if H % A != 0:
  print((H//A)+1)
else:
  print(H//A)

Fixed code:
H,A = (int(x) for x in input().split())
if H <= A:
  print(1)
elif H % A != 0:
  print((H//A)+1)
else:
  print(H//A)
Buggy code:
h,a=map(int,input().split())
t=h%a
if(t>0):
  print((h//a)+t)
else:
  print(h//a)

Fixed code:
h,a=map(int,input().split())
t=h%a
if(t>0):
  print((h//a)+1)
else:
  print(h//a)
Buggy code:
import math

line = input()
numList = [int(num) for num in line.split(' ')]
monsterHP,servalA = numList[0].numList[1]
print(math.ceil(monsterHP/servalA))


Fixed code:
import math
 
line = input()
numList = [int(num) for num in line.split(' ')]
monsterHP,servalA = numList[0],numList[1]
print(math.ceil(monsterHP/servalA))