using System; class Fffuuuu { String Wrap(String inner, String tag) { return String.Format("[{0}]{1}[/{0}]", tag, inner); } String RenderRow() { String row = String.Empty; foreach (String s in Console.ReadLine().Split('\t')) { row += Wrap(s, "td"); } return Wrap(row, "tr"); } String Render() { String table = String.Empty; for (Int32 i = 0; i < 7; ++i) { table += RenderRow(); } return Wrap(table, "table"); } public Fffuuuu() { Console.WriteLine(Render()); } public static void Main() { #if DEBUG Console.SetIn(new System.IO.StreamReader("in.txt", System.Text.Encoding.Default)); Console.SetOut(new System.IO.StreamWriter("out.txt")); #endif new Fffuuuu(); Console.Out.Flush(); } }