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

Input: Consider Input: EOwHDdhJcP, DrIuDdhJYw

Output: DdhJ


Input: Consider Input: nXVXIEGP, fkXIEkU

Output: XIE


Input: Consider Input: XTHCQS, WyHCpp


Output: HC