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

Ex Input:
[127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]

Ex Output:
B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623


Ex Input:
['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]

Ex Output:
249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z


Ex Input:
['d', 5733, 'B', 'x', 'S', 9869, 8963, 3793, 'R', 'o', 'c', 5025, 2647, 'I', 'w', 's', '637', '4657', 'D', '8359', 'j', '5893', 'V', 'X', 'Q', '8713', 'r', 'K', 'F', '2017', '6015', '4643', 'Q', '1977', '6177', '1715', '9655', 'I', '4403', 'W', '9007', 'O', 'x', 'C', 'L', 8785, 7449, 3159, 5375, 'l', 9603, 'V', 'F', 'T', 1799, 'Z', 'S', 1395, 2063, 'y', 'n'], [9951, 57, 341, 191, 2263, 'z', 'k', 981, 'D', 'n', 's', '637', '4657', 'D', '8359', 'j', '5893', 'V', 'X', 'Q', '8713', 'r', 'K', 'F', '2017', '6015', '4643', 'Q', '1977', '6177', '1715', '9655', 'I', '4403', 'W', '9007', 'e', 1301, 'N', 'k', 5327, 4905, 'S']

Ex Output:

s, 637, 4657, D, 8359, j, 5893, V, X, Q, 8713, r, K, F, 2017, 6015, 4643, Q, 1977, 6177, 1715, 9655, I, 4403, W, 9007