```while True:
try:
str1 = list(input())
str2 = list(input())
for i in str1:
if i not in str2:
print('false')
break
else:
print('true')
except:
break