<reponame>Mindjolt2406/Competitive-Programming
from random import *

print 20
for i in range(2**20): print randint(1,100),
print ""
print 0
from random import *

print 20
for i in range(2**20): print randint(1,100),
print ""
print 0