X = list(map(int, input().split())) S = X[0] F = X[1] F_sum = 0 count = 0 while F_sum <= S: F_sum = F_sum + F count = count + 1 print(count)