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

Input: Consider Input: vMYfFo, EHYfnP

Output: Yf


Input: Consider Input: UvYbfKFybXofcwLRrLRiK, BgMZKFybXofcVe

Output: KFybXofc


Input: Consider Input: ShKeUQTPLUwL, cpUQTPLAHWyL


Output: UQTPL