#encoding:utf-8
s=['1','9']sta='56789'# if all(t not in sta for t in s):# print staif all(t not in sta for t in s): print(sta)