for i in range(5):
    for j in range(5):
        print(1, end="")
    print()