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

Ex Input:
sUdaWtsiRgqAYHykrHwjyDvZgD, MJdFXYiRgqAYHykrakSGHMr

Ex Output:
iRgqAYHykr


Ex Input:
FQAznAuFjoBKRKB, hPmtFFPnuAznAuFjoBKTgkeJyjcd

Ex Output:
AznAuFjoBK


Ex Input:
UtuaTedWFmZr, DeHqedWFmsf

Ex Output:

edWFm