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

[EX Q]: RwqzMTeLMdPx, qaWtYhqzMTeLMdHbWDT
[EX A]: qzMTeLMd

[EX Q]: UovaYpHjYSQzrfsxRfvIZE, pUOFxIKOGQzrfsxRfvIjrza
[EX A]: QzrfsxRfvI

[EX Q]: pARukbsDPIGZMVmxZ, CiMjaasDPIGZLdSY
[EX A]:
sDPIGZ