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

Input: Consider Input: cUCQXEFSgRZjK, RYdvUQXEFSgRZVlwx

Output: QXEFSgRZ


Input: Consider Input: YRNpKFPGzUsgCOBJgbVG, TdEpMngFPGzUsgCOZykYRrLp

Output: FPGzUsgCO


Input: Consider Input: ugDpSMRvHM, DDwSMRvxw


Output: SMRv