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

Ex Input:
['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]

Ex Output:
1331, 7235, 8333, a, 4137, b, 9779

Ex Input:
['v', 5121, 'z', 'W', 1293, 9729, 8027, 3479, 6789, 'Z', 'y', 4505, 'm', 99, 6061, 'u', 'j', 4559, 'g', 'I', 6135, 3529, 9603, 'r', 'g', 'L', 'B', '3323', 'f', 'p', 'E', '5487', '7221', 'o', 'n', '1243', 'w', '7275', 'F', '2283', '1589', 'R', '8555', '169', 'S', 'n', 'T', 'i', '2153', '3165', '6921', 'L', 4051], [1601, 'C', 7585, 7943, 2835, 6247, 'r', 5357, 2601, 2317, 10017, 8557, 5535, 'U', 1765, 4085, 1803, 'w', 1967, 'O', 'u', 'p', 3509, 5583, 'u', 485, 935, 'r', 'g', 'L', 'B', '3323', 'f', 'p', 'E', '5487', '7221', 'o', 'n', '1243', 'w', '7275', 'F', '2283', '1589', 'R', '8555', '169', 'S', 'n', 'T', 'i', '2153', '3165', '6921', 'P', 'T', 'T', 1933, 7075]

Ex Output:
r, g, L, B, 3323, f, p, E, 5487, 7221, o, n, 1243, w, 7275, F, 2283, 1589, R, 8555, 169, S, n, T, i, 2153, 3165, 6921

Ex Input:
[245, 7943, 4021, 'N', 545, 'G', 'Y', '2539', '5729', '1911', '6195', '6849', 'C', 'e', '10007', 'L', 'V', 5489, 8509], ['Q', 'A', 7381, 'G', 'Y', '2539', '5729', '1911', '6195', '6849', 'C', 'e', '10007', 'L', 'Y', 'L', 'u', 'x', 'N', 'l', 4763, 9901, 9495]

Ex Output:
G, Y, 2539, 5729, 1911, 6195, 6849, C, e, 10007, L