function sanitize(s) { return s.replaceAll("&", "&") .replaceAll("<", "<") .replaceAll(">", ">") .replaceAll("\n", "
"); } writeln(""); for (x = 1; x <= Right; x++) { writeln(""); for (y = 2; y <= Bottom; y++) { writeln(""); } } writeln("
" + sanitize([x,1]) + "
" + sanitize([x,y]) + "
");