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

Ex Input:
XeQwOS, OuQwNR

Ex Output:
Qw


Ex Input:
mjCEUoPmeKbvCgUtUL, SrHtrPmeKbvYpQAVp

Ex Output:
PmeKbv


Ex Input:
uegIKgHNbjyLQFpbJAPneF, EfQGxHNbjyLQFfQX

Ex Output:

HNbjyLQF