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

Ex Input:
AeYjeKwZQillzpD, SnqviKwZQillrxuTB

Ex Output:
KwZQill


Ex Input:
oHoJrr, YAoJSq

Ex Output:
oJ


Ex Input:
MvaqjxOqGsWjOdpZIfOeqa, AEoDKGsWjOdpZIfiyPs

Ex Output:

GsWjOdpZIf