def foundab(a,b): if b in a: a = a.replace(b,"") return foundab(a,b) else: if a == "": return False else: return [a,b]