Byteasar is going to watch a meteor shower tonight, and he has an exact forecast of its course. The shower is made up of n meteors; the i-th meteor appears ti seconds after midnight, so it is visible during the time interval from moment ti−1 to moment ti. Byteasar counts a meteor as observed only if he watches it for the entire time it is visible.
Byteasar will look at the sky from a nearby hill through a telescope. The telescope is coin-operated: for every c bythalers inserted it lets him watch the sky for exactly c seconds. The device is a little worn, so after a coin is inserted he must wait r seconds before anything becomes visible. Only one coin is accepted at a time, so if he inserts a coin worth c, the next coin can be accepted only after at least r+c seconds have passed.
Byteasar has m coins in his pocket, worth c1,…,cm bythalers, and will use them to pay for the telescope. Determine the maximum number of meteors he can observe.
The first line contains three integers n, m, and r (1≤n≤100, 1≤m≤10, 1≤r≤108). The second line contains n integers t1,…,tn in increasing order (1≤ti≤108). The third line contains m integers c1,…,cm (1≤ci≤108).
Print one integer: the maximum number of meteors Byteasar can observe with the telescope.

In the figure above, the black rectangles mark the seconds during which each meteor is visible. To observe 6 meteors in the sample, Byteasar inserts his coins at moments −2, 2, and 9, using the values 1, 5, and 2 bythalers in that order.