begin
  writeln('192 384 576');
  writeln('219 438 657');
  writeln('273 546 819');
writeln('327 654 981');
end.