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

Ex Input:
['c', 3869, 'X', 9543, 'y', 3435, 'k', 'L', 9191, 'C', 'X', 'U', 'w', 'z', 'y', '6225', 's', '1927', '1777', 'N', '8311', 'B', 'q', 'r', '4829', 'r', '5909', 'e', 'G', 'J', '9631', 'V', 'b', 'G', 'g', 'g', 5369, 7691], ['Z', 'i', 'X', 'U', 'w', 'z', 'y', '6225', 's', '1927', '1777', 'N', '8311', 'B', 'q', 'r', '4829', 'r', '5909', 'e', 'G', 'J', '9631', 'o', 2079, 1461, 633, 3253, 8295, 3637, 'q', 'r', 8737, 'i']

Ex Output:
X, U, w, z, y, 6225, s, 1927, 1777, N, 8311, B, q, r, 4829, r, 5909, e, G, J, 9631


Ex Input:
['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]

Ex Output:
8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163


Ex Input:
['S', 'n', 'X', 'b', '7779', '8857', '1153', 's', '661', 'F', 'r', 4945, 9439], [8237, 2503, 'X', 'b', '7779', '8857', '1153', 's', '661', 'F', 'J', 'J', 9067]

Ex Output:

X, b, 7779, 8857, 1153, s, 661, F