n,x,y=map(int,input().split()) if y%2==1: y+=1 else: y+=0 print(n-y//x)
------Input------ 453 8 30 ------Answer----- 449 ------Your output----- 450