k = 10**5
C = 10**9
print k, C, C
for i in xrange(k):
    print C
for i in xrange(k):
    print 0, C
k = 10**5
C = 10**9
print k, C, C
for i in xrange(k):
    print C
for i in xrange(k):
    print 0, C