#a = map, int(input(),list())

#if
#    print ("YES")
#else:
#    print("NO")
print ("YES")
print ("NO")
print ("NO")
print ("YES")
print ("YES")
print ("NO")
print ("YES")
print ("YES")
print ("YES")
print ("NO")