H,A,D=map(int,input().split()) x=(H+A-1)//A ANS=1<<60 for i in range(x+1): hp=H-i*A y=(hp+D-1)//D ANS=min(ANS,i+y*3/2) print(ANS)