def main(): a,b,c,d = map(int, input().split()) ans = 0 for i in range(1, 101): amount = i + (i * c) if (amount > d): break ans += 1 print(ans) if __name__ == '__main__': main()