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