#yuki_23 h,a,d=map(int,raw_input().split()) g=(h+a-1)/a res=g for i in xrange(g): res=min(res,i+(h-a*i+d-1)/d*1.5) print res