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

Ex Input:
['C', 'b', 'L', 9325, 'M', 'p', 7813, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'Q', 4393, 'x', 5071, 6297], [347, 'W', 8317, 'm', 655, 2215, 9489, 9125, 7317, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'L', 6565, 5537, 'C', 'S', 543, 5541, 'Z', 'q', 'W', 8259, 9311]

Ex Output:
J, 1879, l, 6011, 8425, 5761, 8567, 529, 3079, 2611, 9387, 909, 751


Ex Input:
[2687, 7971, 2141, 'X', 'z', 1281, 'K', 6109, 7773, 'P', 5247, 'j', 'K', 5225, 'c', 4401, 'Z', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'B', 'k', 4913, 5483, 1465, 'F', 9669, 'i', 'L', 'q', 'n'], ['k', 'g', 'e', 'I', 'v', 97, 'N', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'H', 7153, 7967, 'u', 7859, 1387, 7361]

Ex Output:
j, Y, 4799, h, 5519, n, 3231, l, 3003, F, 5599, J, q, r, 889, e, 9805, X


Ex Input:
['f', 'i', 6801, 1977, 10029, 9733, 9797, 'u', 4789, 't', 8395, 5649, 'Q', 2449, 'H', 5249, 'd', 2509, 5067, 6903, 7013, 't', 7135, 'G', 'C', 'U', 'm', 'h', 1191, 'P', 'w', 'i', '1769', '3187', 'e', '7259', '2523', '1163', 'k', '9283', 'X', '1591', 'r', '8247', 'Y', '1683', 'p', 'v', '1877', '1839', 'd', 'v', 'E', '2883', '9027', 'y', 'a', 'y', '8485', 'n', 'f', 8653, 3393, 605, 'V'], [9509, 9703, 'E', 'f', 7539, 2113, 'A', 'J', 'Q', 'E', 9153, 'd', 'C', 9547, 'g', 'P', 'w', 'i', '1769', '3187', 'e', '7259', '2523', '1163', 'k', '9283', 'X', '1591', 'r', '8247', 'Y', '1683', 'p', 'v', '1877', '1839', 'd', 'v', 'E', '2883', '9027', 'y', 'a', 'y', '8485', 'X', 'f', 'R', 1981, 2575, 3393, 'y', 'p', 6025, 1567, 'j', 2009, 8129, 8867, 'e', 735, 'M', 9033]

Ex Output:

P, w, i, 1769, 3187, e, 7259, 2523, 1163, k, 9283, X, 1591, r, 8247, Y, 1683, p, v, 1877, 1839, d, v, E, 2883, 9027, y, a, y, 8485