LowbieH thinks his ACM teammates are stupid! So he wanted to find someone to team up again. We define the fitness between two people as the length of the longest common part of their nicknames. Now that he has found a new candidate, please tell lowbieH what the fitness of the two of them is.