uses crt;
var a,b,c:array[1..1000]of integer;
i,n:integer;
begin
clrscr;
readln(n);
for i:=1 to n do
begin
readln(a[i],b[i]);
c[i]:=a[i]+b[i];
end;
for i:=1 to n do write(c[i]:4);
readln;
end.
uses crt;
var a,b,c:array[1..1000]of integer;
i,n:integer;
begin
clrscr;
readln(n);
for i:=1 to n do
begin
readln(a[i],b[i]);
c[i]:=a[i]+b[i];
end;
for i:=1 to n do write(c[i]:4);
readln;
end.