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

Input: Consider Input: rPPfxUdowLLdvwRtY, PuHovApkfxUdowLLBOhq

Output: fxUdowLL


Input: Consider Input: slTUxy, oqTUYa

Output: TU


Input: Consider Input: nNPZZMhmQyJVMwfLu, qBpkLwHNZZMhmQyJEYZjNSn


Output: ZZMhmQyJ