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

Ex Input:
yQRDycTycwH, ImycTycrR

Ex Output:
ycTyc


Ex Input:
STvKOHq, XMGvKOdyM

Ex Output:
vKO


Ex Input:
MJdeNEEv, WmXeNEDV

Ex Output:

eNE