import random

# print(1)
# print(100)
# print(*[random.randint(1, 10000000) for _ in range(100)])

print(100)
for i in range(100):
    print(100)
    print(*[random.randint(1, 100000000) for _ in range(100)])