print(("1 "*11+"\n")*52)