Alice has a giant cake for her birthday cut into $$$n$$$ slices. She isn't very good at cutting cake evenly, so each slice has size $$$s_i$$$.
She also has $$$m$$$ friends at her party, and each slice can be given to at most one friend without being split or combined with another slice. The $$$i$$$th friend is happy if they receive one slice of size at least $$$a_i$$$.
Alice wants to make as many friends happy as possible. Find the maximum number of friends Alice can make happy.
The first line will contain integers $$$n$$$ and $$$m$$$ $$$(1 \leq n, m \leq 10^5)$$$.
The second line contains $$$n$$$ integers $$$s_1, s_2, \dots, s_n$$$ $$$(1 \leq s_i \leq 10^9)$$$, the sizes of the slices.
The third line contains $$$m$$$ integers $$$a_1, a_2, \dots, a_m$$$ $$$(1 \leq a_j \leq 10^9)$$$, the minimum slice size each friend will accept.
Print a single integer: the maximum number of friends who can be made happy.
3 210 5 2015 15
1
3 52 2 21 1 1 1 1
3
4 110 20 30 40101
0
In the first example, only one slice has a size of at least $$$15$$$, so only one friend can be made happy.
In the second example, there are only three slices, so at most three friends can be made happy. Since every slice has size $$$2$$$ and every friend needs only $$$1$$$, three friends can be made happy.
In the third example, the largest slice has size $$$40$$$, which is less than the friend's requirement of $$$101$$$. Therefore, no friends can be made happy.