from decimal import Decimal as d from math import ceil a,b=map(d,input().split()) print(ceil(a/(b+d("1"))))