import sys
import json
def f(d):
for i in d:
if i == 0:
return True
return False
print(f([1, 2, 3, 4, 5, 1, 2, 3, 4, 0, 2, 3]))
print(f([1, 2, 3, 4, 5, 1, 2, 3, 4]))
aW1wb3J0IHN5cwppbXBvcnQganNvbgoKZGVmIGYoZCk6CiAgICBmb3IgaSBpbiBkOgogICAgICAgIGlmIGkgPT0gMDoKICAgICAgICAgICAgcmV0dXJuIFRydWUKICAgIHJldHVybiBGYWxzZQogICAgCnByaW50KGYoWzEsIDIsIDMsIDQsIDUsIDEsIDIsIDMsIDQsIDAsIDIsIDNdKSkKcHJpbnQoZihbMSwgMiwgMywgNCwgNSwgMSwgMiwgMywgNF0pKQ==