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

[EX Q]: iMwanJBuMdiZDL, kIafHeBuMdiZmKNA
[EX A]: BuMdiZ

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

[EX Q]: QgNbROHtFRccADDtEB, cpccZHtFRcccExD
[EX A]:
HtFRcc