program line;
var
i,j,n,m,t,a,b,c:longint;
r0,r1:array[0..100000]of longint;
procedure
procedure init;
begin
for i:=1 to m do
begin
read(a,b,c);
if c=0 then
begin
end
end
end;
procedure print;
begin
end;
procedure main;
begin
assign(input,'line.in');
reset(input);
assign(output,'line.out');
rewrite(output);
read(t);
repeat
dec(t);
init;
print
until t=0;
close(input);
cloes(output)
end;
begin
main
end.