a = input() f = int(a.split( )[0]) s = int(a.split( )[1]) f //= s if (f%s==0): f -= 1 print(f+1)