import sys for i in range(int(sys.argv[1])): print 1 for i in range(int(sys.argv[2])): print 0