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

Input: Consider Input: DZfOjrQffR, CXOjrQQc

Output: OjrQ


Input: Consider Input: FCKbAgSVgj, wAEAWbAgSVSVwD

Output: bAgSV


Input: Consider Input: IOuIwEcJLuyUz, GQhIwEcJrDRp


Output: IwEcJ