inpu = list(map(int,input().rstrip().split(' '))) BegiNum = 0 while(inpu[2] + 1 < inpu[3]): BegiNum = BegiNum + 1 inpu[3] = inpu[3] - inpu[2] - 1 if(BegiNum == inpu[0]):break print(BegiNum)