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

Ex Input:
UIjAMFDuxDDGkfQa, VdsHuxDDGkfZHZZ

Ex Output:
uxDDGkf


Ex Input:
XqyPjqNZDEK, EfwPjqNgjIP

Ex Output:
PjqN


Ex Input:
BRBaZXxFpzJtKkpDVzDULb, hrOpzJtKkpDXXOUZOM

Ex Output:

pzJtKkpD