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

Input: Consider Input: vFuggVITQuctFG, hdCIWWuuggVITQwr

Output: uggVITQ


Input: Consider Input: OrcQOvMBhmwP, mnWrzcQOvMBnLwI

Output: cQOvMB


Input: Consider Input: SKJJlJolZ, CIKwJlJopXVR


Output: JlJo