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

Input: Consider Input: yKtQOhYvrJVH, HQsTQOhYvPP

Output: QOhYv


Input: Consider Input: edjRAatlaiCmWkpqMh, qDZYVWCDTRAatlaiCmYH

Output: RAatlaiCm


Input: Consider Input: ZigJHNbLUxkujwz, SccHNbLUxed


Output: HNbLUx