NOI Contest Archive

Archive / 2024 / February 2024

Sum Game 4

Easy · NOI 2024 february monthly contest

You’re given four numbers. Write the maximum sum that can be obtained using the summation of only two numbers out of the given four.

Input Format

Output Format

Constraints

Sample Input 0

1 3 2 4

Sample Output 0

7