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

Input: Consider Input: PzXzvmYrlGZgOBk, iKnzvmYrlGZgOrs

Output: zvmYrlGZgO


Input: Consider Input: CdRbREFMEDTXnEzgn, zHLEMMEDTXnEPH

Output: MEDTXnE


Input: Consider Input: IcPAceuFZyAzq, WJQbQynPAceuFZymnTcE


Output: PAceuFZy