l,k=map(int,input().split());x=0 while 2*k*-~x