import collections

import itertools as it

import math

#import numpy as np

 

#  = input()

#  = int(input())

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

#  = list(map(int, input().split()))

#  = [int(input()) for i in range(N)]

#

# c = collections.Counter()

if h%a==0:

	print((int(h/a)))

else:

  	print((h//a+1))
#import collections

#import itertools as it

#import math

#import numpy as np

#import sys 

#sys.exit()



#  = input()

#  = int(input())

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

'''

#  = list(map(int, input().split()))

'''

'''

n = input()

a = [int(input()) for i in range(n)]

'''

'''

n,m = map(int, input().split())

a = [list(map(int, input().split())) for _ in range(m)]

'''

# c = collections.Counter()

#-------------------------------#



if h%a==0:

	print((int(h/a)))

else:

  	print((h//a+1))
import collections
import itertools as it
import math

# import numpy as np
#  = input()
#  = int(input())
h, a = list(map(int, input().split()))
#  = list(map(int, input().split()))
#  = [int(input()) for i in range(N)]
#
# c = collections.Counter()
if h % a == 0:
    print((int(h / a)))
else:
    print((h // a + 1))

# import collections
# import itertools as it
# import math
# import numpy as np
# import sys
# sys.exit()
#  = input()
#  = int(input())
h, a = list(map(int, input().split()))
"""
#  = list(map(int, input().split()))
"""
"""
n = input()
a = [int(input()) for i in range(n)]
"""
"""
n,m = map(int, input().split())
a = [list(map(int, input().split())) for _ in range(m)]
"""
# c = collections.Counter()
# -------------------------------#
if h % a == 0:
    print((int(h / a)))
else:
    print((h // a + 1))

-import collections -import itertools as it -import math - +# import collections +# import itertools as it +# import math +# import sys +# sys.exit() +""" -#  = [int(input()) for i in range(N)] -# +""" +""" +n = input() +a = [int(input()) for i in range(n)] +""" +""" +n,m = map(int, input().split()) +a = [list(map(int, input().split())) for _ in range(m)] +"""