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

Ex Input:
EJZYVxgFxPoOSDlLfK, uTLTIETHZYVxgFxPoPwr

Ex Output:
ZYVxgFxPo


Ex Input:
vFuggVITQuctFG, hdCIWWuuggVITQwr

Ex Output:
uggVITQ


Ex Input:
shmAXZyEGHrbPmuGRGuZqr, WQtOZkqGHrbPmuGRpmY

Ex Output:

GHrbPmuGR