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

Input: Consider Input: wlFcxOHoXC, IWFcxOIWTk

Output: FcxO


Input: Consider Input: TWVTGNBh, nEVTGWq

Output: VTG


Input: Consider Input: UVBAWmOMFtTfFvzGGFcG, GYDMFtTfFvzGGbXyXgc


Output: MFtTfFvzGG