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

Input: Consider Input: skZGHS, HsZGge

Output: ZG


Input: Consider Input: aeQjEeiWGONmzGimhGiw, RIEeiWGONmOZuVYr

Output: EeiWGONm


Input: Consider Input: bRBRNiUTfgURSYDkOIaQm, prcOjBTfgURSYDXiiAPGPo


Output: TfgURSYD