1204: 【c02】奖牌的数量▁表达式
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:25
Solved:16
Description
乐乐获得了 a 枚金牌,他获得的银牌数量比金牌多 b 枚,他获得的铜牌数量比银牌多 c 枚。
请问他一共获得了多少枚奖牌?
Input
第一行:单个整数表示 a;
第二行:单个整数表示 b;
第三行:单个整数表示 c。
数据范围 0≤a,b,c≤1000
Output
单个整数:表示奖牌总数。
Sample Input Copy
1
2
3
Sample Output Copy
10