{
TASK:oldmap
LANG:PASCAL
}
program MAPS;
begin
writeln('1 2 10');
writeln('1 3 20');
writeln('2 3 25');
readln;
end.