n = 10 ** 6
print (n)
print (*[10 ** 12 for i in range (n)])
