AtCoder Beginner Contest 207
A
Repression
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

There are three cards on the desk, each with a positive integer written on it. The integers on the cards are $A$, $B$, and $C$.

翻译中…

You have chosen two cards and picked them up.

翻译中…

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

翻译中…

Constraints

翻译中…
  • $1 \leq A,B,C \leq 100$
  • All values in input are integers.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

A B C

翻译中…

Output

翻译中…

Print the answer as an integer.

翻译中…

样例

Input #1
3 4 5
Output #1
9
If you pick up two cards with $4$ and $5$, the sum of the integers will be $4+5=9$. There is no way to pick up cards with a greater sum, so we should print $9$.
Input #2
6 6 6
Output #2
12
Whichever two cards you choose, the sum of the integers will be $12$.
Input #3
99 99 98
Output #3
198
题目信息
题号
abc207_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。