Farmer Yunji owns farms. Each farm produces dollars per day. Due to tax issues, he has to sell of his farms. What is the maximum amount of money he can earn per day from his farms, after he sells of them?
Input Specification
The first line will contain two space-separated integers, , the number of farms, and the number of farms Yunji has to sell, respectively.
The next line will contain integers, .
Output Specification
On the first line, output the maximum amount of money Yunji can make per day after selling of his farms.
Constraints
Subtask 1 [15%]
Subtask 2 [85%]
No additional constraints.
Sample Input 1
2 1
8 10
Sample Output 1
10
Sample Input 2
3 3
29 34 12
Sample Output 2
0
Comments
guys, remember to use integer data type to store your sum, using normal integer data types is not enough for this question