5 3 2 7 4 1
3 2
#include<stdio.h>void main(){ int k,u,d,w,h; scanf("%d %d %d",&w,&u,&d); while(w!=0||u!=0||d!=0) { k=(w-d)/(u-d); if((u-d)*k<w-d)k++; printf("%d\n",k); scanf("%d %d %d",&w,&u,&d); }}