s1=list(map(str,input().split())) ss=''.join(s1) s2=list(map(str,input().split())) s=0 l=[0] li=[] li2=[] ll=[] for i in s1: s+=len(i) l.append(s) for j in s2: for k in range(len(ss)-len(j)+1): if ss[k:k+len(j)]==j: for sttt in range(len(l)): if k<l...