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

Input: Consider Input: CMrTXnTnTVaR, srnXnTnTDNULO

Output: XnTnT


Input: Consider Input: SyweIt, ILweip

Output: we


Input: Consider Input: ONOEaqFhXRClkb, bqYYkGkOEaqFhXRClInnvvu


Output: OEaqFhXRCl