'''import re
s='aaadaa'
t='aa'
s=list(s)
t=list(t)
print(s)
print(t)
for i in range(len(s)):
	for k in range(len(t)):
		if t[i]==s[k]

'''


A=[[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]
for i in A:
	print(i)

print(len(A))
for l in range(len(A)):
	for j in range(3):
		
