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

Input: Consider Input: CdRbREFMEDTXnEzgn, zHLEMMEDTXnEPH

Output: MEDTXnE


Input: Consider Input: NUuLSmDjCKcJPc, lGGSLIDjCKcJBo

Output: DjCKcJ


Input: Consider Input: nIaRKmiQrcI, MRRKmiYT


Output: RKmi