TASK DEFINITION: In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
PROBLEM: AxAmDG, LTAmEV

SOLUTION: Am

PROBLEM: QjDQjzAIsnYgNmmetl, vyqDQjzAIsnNajYEheP

SOLUTION: DQjzAIsn

PROBLEM: ploYrBwNdHtJKNvCpj, oPIiFcwNdHtJKrncW

SOLUTION:
wNdHtJK