Program HelloWorld;
var seat:array[1..2,1..3] of string;
var i,o:integer;
procedure display();
begin
for i:=1 to 2 do
begin
for o:= 1 to 3 do
begin
write((seat[i,o]));
write(' ');
end;
writeln;
end
end;
procedure fill();
begin
for i:=1 to 2 do
begin
for o:=1 to 3 do
begin
readln(seat[i,o]);
end;
end;
end;
begin
fill();
display();
end.
UHJvZ3JhbSBIZWxsb1dvcmxkOwoKdmFyIHNlYXQ6YXJyYXlbMS4uMiwxLi4zXSBvZiBzdHJpbmc7CnZhciBpLG86aW50ZWdlcjsKCnByb2NlZHVyZSBkaXNwbGF5KCk7CmJlZ2luCmZvciBpOj0xIHRvIDIgZG8KYmVnaW4KIGZvciBvOj0gMSB0byAzIGRvCiAgYmVnaW4KICAgd3JpdGUoKHNlYXRbaSxvXSkpOwogICB3cml0ZSgnICcpOwogIGVuZDsKIHdyaXRlbG47CiBlbmQKZW5kOwoKcHJvY2VkdXJlIGZpbGwoKTsKYmVnaW4KIGZvciBpOj0xIHRvIDIgZG8KIGJlZ2luCiAgZm9yIG86PTEgdG8gMyBkbwogICBiZWdpbgogICAgcmVhZGxuKHNlYXRbaSxvXSk7CiAgIGVuZDsKIGVuZDsKZW5kOwoKYmVnaW4KZmlsbCgpOwpkaXNwbGF5KCk7CmVuZC4=