Problem B: 选科组合
[Creator : ]
Description
已知物理、化学、生物、历史、地理、政治成绩分别为 ,,,,,。
若从这六门科目中选择三门作为高考分数,则能得到的最高分是多少?
Input
单独一行:六个整数,分别表示六科成绩。
0≤a,b,c,d,e,f≤100
0≤a,b,c,d,e,f≤100
Output
- 单个整数:表示选择三门课程形成组合的最高分
Sample Input Copy
90 88 85 93 75 87
Sample Output Copy
271
HINT
90+88+93=271