Survivor
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

There are n players fighting the boss, and each player has its hp value. Initially, the hp value of i-th player equals a_i. There is no upper limit for the hp value of each player.

At the end of each minute, the i-th person will suffer b_i damage; that is, the hp value of i-th person will decrease b_i. Once a player's hp value is less than or equal to 0, he will permanently quit the fight.

You have magical skills. You can select the i-th player (if he is alive) and increase his hp value by c_i. You can use it multiple times at any minute, but the total number of times cannot exceed k.

Now you need to determine the maximum number of players that can survive after m minutes.

输入描述:

The first line of the input contains three integers n, m, k .

The second line contains n integers a_1,a_2,...,a_n .

The third line contains n integers b_1,b_2,...,b_n .

The forth line contains n integers c_1,c_2,...,c_n .

输出描述:

Print one integer ---  the number satisfying the conditions above.
示例1

输入

复制
3 5 2
1 1 4
1 9 1
5 1 4

输出

复制
2

说明

For the first test case, at the beginning of the first minute, you can use skills on the first and third players, then they will survive.