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

[EX Q]: RGImMTISYdkjzMO, pmyfpImMTISYdatLBBFr
[EX A]: ImMTISYd

[EX Q]: CkZOSZevST, bbZOSZIg
[EX A]: ZOSZ

[EX Q]: VpAWdSTDVu, FltndSTDIWD
[EX A]:
dSTD