Given the task definition and input, reply with output. In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.

qPYQAdVkSnpWaD, zhAdVkSnFYX

AdVkSn
Given the task definition and input, reply with output. In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.

qPYQAdVkSnpWaD, zhAdVkSnFYX

user
AdVkSn
assistant
Given the task definition and input, reply with output. In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.

qPYQAdVkSnpWaD, zhAdVkSnFYX

AdVkSn