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

Input: Consider Input: jinzsW, SMnzaW

Output: nz


Input: Consider Input: inquDFuJxtBaaFGCaRzO, NYcnWDuDFuJxtBafxZWCUw

Output: uDFuJxtBa


Input: Consider Input: wuTDUvVOqdIZpeINd, cMMlnWhVOqdIZpeInvKYJaa


Output: VOqdIZpeI