way = list()
for i in range(10):
    way.append(1)
print(way)
way.clear()
way.append(1)
for i in range(8):
    way.append(0)
way.append(1)
print(way)
way.clear()
for i in range(8):
    way.append(1)
way.append(0)
way.append(1)
print(way)
way.clear()
way.append(1)
for i in range(8):
    way.append(0)
way.append(1)
print(way)
way.clear()
way.append(1)
way.append(0)
for i in range(8):
    way.append(1)
print(way)
way.clear()
way.append(1)
for i in range(8):
    way.append(0)
way.append(1)
print(way)
way.clear()
for i in range(8):
    way.append(1)
way.append(0)
way.append(1)
print(way)
way.clear()
way.append(1)
for i in range(8):
    way.append(0)
way.append(1)
print(way)
way.clear()
way.append(1)
way.append(0)
for i in range(8):
    way.append(1)
print(way)
way.clear()
for i in range(10):
    way.append(1)
print(way)
way.clear()


