K K slider, the famous song writer is going to come to you village! You have decided to buy new shoes for all of your NPCs vilagers. You have a tight budget of just $$$k$$$ bells, and on the store every shoe is at a different price, not only that but left and right shoes are sold at different prices. So given the price of every shoe, find the maximum amount of pair of shoes you can buy. (A pair of shoes is formed from a left and a right shoe, The NPCs aren't so picky, so the pair of shoes doesn;t have to be of the same kind)
On the first line two numbers, $$$N$$$ and $$$k$$$. ($$$1\leq N \leq 10^5, 0\leq k \leq 2*10^9$$$) Indicating there are $$$N$$$ left shoes, and $$$N$$$ right shoes. $$$K$$$ is the number of bells you have. In the next line $$$N$$$ numbers between $$$0$$$ and $$$10000$$$ the cost of each right shoe in bells. In the next line $$$N$$$ numbers between $$$0$$$ and $$$10000$$$ the cost of each left shoe in bells.
Just a number indicating how many pair of shoes you can get.
3 23 1 21 2 1
1
"But We Don't Do Things Because They Are Easy Hm? We Do Them Because They Are Profitable." -Tom nook.