#include<iostream>
#include<stdio.h>
using namespace std;
int main ()
{
int n,u,d,t=0,s=0;
scanf("%d%d%d",&n,&u,&d);
if(d>=u) //将无论如何都不能到顶的特例拿出来
{
cout<<"The worm can't escapes from well.'";
return 0;
}
while(s<n)
{
t++,s+=u;
if(s<n) //继续判断s是否小于井深 不是就会休息下滑
{
t++,s-=d;
}
}
cout<<t;
return 0;
}