All items in stores are discounted for Fool's Day on May 15. This means you can buy an item that costs manats for
manats by presenting discount coupons. You have discount coupons and wish to buy items. You also know the price of each item: A_1, A_2, \dots, A_N. What is the minimum amount of money required to buy all the items?
Note: Here, denotes the integer part of the number .
The first line contains two integers and (1 \leq N, M \leq 10^5). The second line contains integers A_1, A_2, \dots, A_N (1 \leq A_i \leq 10^9).
Print the minimum amount of money required to buy all the items.
Example
Example 1
Example 2
Example 3
In the first example, all items can be purchased for manats as follows: Buy the first item for manats without using any discount coupons. The second item can be bought using discount coupons for
manats. The third item can be bought using discount coupon for manats. The total amount spent is 3 + 3 + 4 = 10 manats.
In the second example, by using discount coupons, you can buy an item originally costing manats for manats.
This problem consists of subtasks as described below:
