var
a,b,c:array[1..300] of longint;
x,t,i,j,n,m,y:longint;
begin
readln(n);
for i:=1 to n do
begin
readln(a[i],x,y);
b[i]:=a[i]+x+y;
c...
var
a,b,c:array[1..300] of longint;
x,t,i,j,n,m,y:longint;
begin
readln(n);
for i:=1 to n do
begin
readln(a[i],x,y);
b[i]:=a[i]+x+y;
c...