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

Ex Input:
hcmMoVBhK, mdmMoVBjuT

Ex Output:
mMoVB


Ex Input:
HSsyZzZLZAAq, MFEZzZLJC

Ex Output:
ZzZL


Ex Input:
LeHzcEFc, WFzcExvJ

Ex Output:

zcE