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

Ex Input:
XbjDHRCWxdPbhibUKn, SrpuPDHRCWxdPbKPWEXNWbZ

Ex Output:
DHRCWxdPb


Ex Input:
yQCDWefwvrPP, RwoMDWefwhSxTR

Ex Output:
DWefw


Ex Input:
CsRZjtddGvCqsuHCwvh, hXsdGvCqsuwAx

Ex Output:

dGvCqsu