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

Ex Input:
BdqUloJanutXoOyfLsuA, NRDloJanutXoOQY

Ex Output:
loJanutXoO


Ex Input:
rcKVmDzwJKeK, uYqmDzwJKxkGi

Ex Output:
mDzwJK


Ex Input:
aLSdbDISeNx, rWGOdbDIyJ

Ex Output:

dbDI