#Morgan Su, BayviewSS P=int(input()) N=int(input()) R=int(input()) total=N amt=N counter=0 #keep simulating days until total of infected exceeds P while total<=P: nInf=R*amt total+=nInf amt=nInf counter+=1 print(counter)