⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯
int n, u, d;
Scanner in = new Scanner(System.in);
while (true)
{
n = in.nextInt();
u = in.nextInt();
d = in.nextInt();
if (n == 0) break;
int t = (n - u)/(u - d);
if (t * (u - d) < (n - u)) t++;
t *= 2;
t++;
System.out.println(t);
}