100 atcoder#ABC207A. [ABC207A] Repression
[ABC207A] Repression
Score : points
Problem Statement
There are three cards on the desk, each with a positive integer written on it. The integers on the cards are , , and .
You have chosen two cards and picked them up.
Find the maximum possible sum of the integers written on the picked cards.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer as an integer.
3 4 5
9
If you pick up two cards with and , the sum of the integers will be .
There is no way to pick up cards with a greater sum, so we should print .
6 6 6
12
Whichever two cards you choose, the sum of the integers will be .
99 99 98
198