In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.

Example Input: ahPbomjSH, rBbomynK
Example Output: bom

Example Input: fVEFJa, WtEFYK
Example Output: EF

Example Input: ZQDnqx, HSDndU
Example Output:
Dn