#yuki689 K=int(raw_input()) print K+1 for i in xrange(K): print 1, print 2