N = int(input())
A = list(map(int, input().split()))
B, C = map(int, input().split())
result = 0
for i in A:
i -= B
count = 1
if i > 0:
count += i // C
if i % C != 0:
count += 1
result += count
print(result)