In a cricket tournament, matches are supposed to be played between Bob and James.
You are given two arrays and . Array represents the energy levels of Bob and array represents the energy levels of James. The size of both the arrays is the same as .
Now, matches will be played between Bob and James, and for the match the energy level at index is compared of both. The winner of the match will be the one whose energy level at that index is higher.
If Bob wins in the match, then the energy level difference (between the level of both) will be added to his score else his score remains the same i.e., on losing, Bob's points will not decrease.
Bob wants to maximize his score by changing his energy levels, that is, Bob can make a permutation of his array.
Help Bob in knowing the maximum score he can get.
Input format
Output format
Print a single integer denoting the number of pentagons possible.
Constraints
Bob will permute his array to {5, 4, 3, 2, 1}. So for the first and second levels, Bob will get a score of 4, 2 respectively, and for the levels, Bob won't get any positive score, So his total maximum score is 4+2 = 6.