a="OOOOXXXX"
for i in range(len(a)) :
    if a[i] == 'O' :
        print(1)
    else :
        print(0)

b = list("!23456")
print(len(b))
a="OOOOXXXX"
for i in range(len(a)) :
    if a[i] == 'O' :
        print(1)
    else :
        print(0)

b = list("!23456")
print(len(b))