100 atcoder#ABC207A. [ABC207A] Repression

[ABC207A] Repression

Score : 100100 points

Problem Statement

There are three cards on the desk, each with a positive integer written on it. The integers on the cards are AA, BB, and CC.

You have chosen two cards and picked them up.

Find the maximum possible sum of the integers written on the picked cards.

Constraints

  • 1A,B,C1001 \leq A,B,C \leq 100
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

AA BB CC

Output

Print the answer as an integer.

3 4 5
9

If you pick up two cards with 44 and 55, the sum of the integers will be 4+5=94+5=9.

There is no way to pick up cards with a greater sum, so we should print 99.

6 6 6
12

Whichever two cards you choose, the sum of the integers will be 1212.

99 99 98
198