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

Ex Input:
['l', 8387, '6019', 'r', 't', 'Y'], ['S', 'q', '6019', 'r', 'Z', 9863]

Ex Output:
6019, r


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:
['Q', 1271, 9917, 8659, 3815, 2957, 'c', 5621, 3257, 5241, 'a', 'N', 6491, 4957, 'k', 6171, 'R', 8011, 'V', 'f', 'l', 'Y', 'L', 4791, 'c', 'y', 'e', '6511', '6287', '5761', '9165', '8421', '9667', '5509', '3325', 'N', '3031', 'm', 'k', 'r', '7973', '5789', 'z', '8315', 'O', 'r', 'r', '2119', 'o', 'O', 'N', '9289', 'N', '2921', '6325', 'N', 4573, 'E'], ['C', 'm', 3499, 7311, 7053, 2133, 545, 'N', 4819, 'k', 1825, 'e', 'S', 4339, 6963, 9371, 'y', 'e', '6511', '6287', '5761', '9165', '8421', '9667', '5509', '3325', 'N', '3031', 'm', 'k', 'r', '7973', '5789', 'z', '8315', 'O', 'r', 'r', '2119', 'o', 'O', 'N', '9289', 'N', '2921', '6325', 'e', 'x', 'q', 'h', 's', 6541, 7857, 'g', 'u']

Ex Output:

y, e, 6511, 6287, 5761, 9165, 8421, 9667, 5509, 3325, N, 3031, m, k, r, 7973, 5789, z, 8315, O, r, r, 2119, o, O, N, 9289, N, 2921, 6325