You will be given a definition of a task first, then some input of the task.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.

jSXZBTKdUKXMqyaDyftLx, kuSwBdcWwKXMqyaDyfLsawMoi
Output:
KXMqyaDyf