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

Input: Consider Input: gHFwDorPbNPORVgdLW, AfqDQvCGFwDorPbNPVPVmbQ

Output: FwDorPbNP


Input: Consider Input: dmigbcBoWdAIyaeE, zXiKQFbcBoWdAIyaEypIjJpwbU

Output: bcBoWdAIya


Input: Consider Input: lnWHPYT, UuvWHPRm


Output: WHP