N,S,B = map(int, input().split()) H = list(map(int,input().split())) now = H[0] s = S for i in range(N-1): if now < H[i+1]: while now0: s -= 1 now += B if now