略复杂
import sys s=input() t=input() for i in s: if i not in t: print('false') sys.exit() print('true')