4709: P8732 [蓝桥杯 2020 国 ABC] 答疑
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description

Input

Output

Sample Input Copy
3
10000 10000 10000
20000 50000 20000
30000 20000 30000
Sample Output Copy
280000
HINT
