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

Ex Input:
QKlzsmHyBcC, snPtzsmHdMIv

Ex Output:
zsmH


Ex Input:
HKqfdEvqDuGhWByFlzIEeYh, VVaZfkLCMuGhWByFlzIOZaXbMCA

Ex Output:
uGhWByFlzI


Ex Input:
ZGSJgMNXDbPHqDGD, KFKZKWSJgMNXDUK

Ex Output:

SJgMNXD