import math S, F = map(int, input().split()) #Sは段数、Fは1階あたりの段数 if S / F < 1: print('1') elif S % F == 0: print(int(S / F + 1)) else: print(math.ceil(S/F))