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

[EX Q]: HhBhJMpxpty, MxTJMpxnQEf
[EX A]: JMpx

[EX Q]: IKrQfT, crrQRg
[EX A]: rQ

[EX Q]: nwupnx, LCupbj
[EX A]:
up