Question: how to find flames between two names?
Answer: Get the flames count. Take the two names ('asd' and 'abcd') Remove the common characters (two common characters 'a', 'd') ...  Get the flames result. We take FLAMES letters ('F', 'L', 'A', 'M', 'E', 'S') And start removing letters using the flames count we got.