str_key=input() str_mi=input() a=[] b=['a',"b",'c','d','e','f','g','h','i',"j",'k','l','m','n','o','p','q',"r",'s','t','u','v','w','x','y','z'] c=[] for i in str_key: if i not in a: a.append(i) for i in b: if len(a)<=len(b): if i not in a: ...