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

Input: Consider Input: eMDNXl, ZZDNAa

Output: DN


Input: Consider Input: ICizmXnKMpUH, oDrnmXnKgWXX

Output: mXnK


Input: Consider Input: KLFlXrsZuySeUGG, ansZuySeUcdeP


Output: sZuySeU