First books
Execution time limit is 1 second
Runtime memory usage limit is 256 megabytes
You, as an experienced participant in programming olympiads, decided to spread the love for this activity and encourage your friend to participate in them by giving him 5 programming books. The books have interestingness values and respectively. But if it were that simple, your friend becomes accustomed to the interestingness of the books. Therefore, if the reading order is , then he will be interested in . You can change the order of reading the books. Find the maximum value of your friend's interest among all possible orders of reading the books.
Input
The first line contains 5 integers — () — the interestingness of the books.
Output
Output a single integer — the answer to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3