import sys

import socket



hostname = socket.gethostname()



if hostname == 'F451C':

    sys.stdin = open('a1.in')





def read_int_list():

    return list(map(int, input().split()))





def read_str_list():

    return input().split()





def read_int():

    return int(eval(input()))





def read_str():

    return eval(input())





def main():

    H, A = read_int_list()

    res = 0

    for i in range(10001):

      H = H - A

      res += 1

      if H <= 0:

        break

    print(res)





main()

import sys

import socket



hostname = socket.gethostname()



if hostname == 'F451C':

    sys.stdin = open('a1.in')





def read_int_list():

    return list(map(int, input().split()))





def read_str_list():

    return input().split()





def read_int():

    return int(eval(input()))





def read_str():

    return eval(input())





def main_0():

    H, A = read_int_list()

    res = 0

    for i in range(10001):

      H = H - A

      res += 1

      if H <= 0:

        break

    print(res)





def main_1():

    H, A = read_int_list()

    res = H // A

    if H % A != 0:

      res += 1

    print(res)





def main():

    H, A = read_int_list()

    res = 0

    while H > 0:

      H -= A

      res += 1

    print(res)



main()

import sys
import socket

hostname = socket.gethostname()
if hostname == "F451C":
    sys.stdin = open("a1.in")


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


def read_str_list():
    return input().split()


def read_int():
    return int(eval(input()))


def read_str():
    return eval(input())


def main():
    H, A = read_int_list()
    res = 0
    for i in range(10001):
        H = H - A
        res += 1
        if H <= 0:
            break
    print(res)


main()

import sys
import socket

hostname = socket.gethostname()
if hostname == "F451C":
    sys.stdin = open("a1.in")


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


def read_str_list():
    return input().split()


def read_int():
    return int(eval(input()))


def read_str():
    return eval(input())


def main_0():
    H, A = read_int_list()
    res = 0
    for i in range(10001):
        H = H - A
        res += 1
        if H <= 0:
            break
    print(res)


def main_1():
    H, A = read_int_list()
    res = H // A
    if H % A != 0:
        res += 1
    print(res)


def main():
    H, A = read_int_list()
    res = 0
    while H > 0:
        H -= A
        res += 1
    print(res)


main()

-def main(): +def main_0(): +def main_1(): +    H, A = read_int_list() +    res = H // A +    if H % A != 0: +        res += 1 +    print(res) + + +def main(): +    H, A = read_int_list() +    res = 0 +    while H > 0: +        H -= A +        res += 1 +    print(res) + +