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

Example Input: ['B', 8045, 3145, 4859, 'j', 181, 'l', '3917', '6351', '659', 'v', '4767', 'S', '1001', '1073', 'Y', 'Z', '9763', 'Z', 'o', '2921', 'h', 'H', '3493', 'k', 'D', 6905, 3883, 6211, 'O', 2063, 8071, 9151, 'z', 'N', 9885, 'O', 'R', 'V', 'Z', 483, 3279], [4491, 'p', 'N', 'I', 4883, 2721, 'u', 'V', 'l', '3917', '6351', '659', 'v', '4767', 'S', '1001', '1073', 'Y', 'Z', '9763', 'Z', 'o', '2921', 'h', 'H', '3493', 'm', 5833, 5833, 4299, 8857, 5289, 'J', 7743, 'k']
Example Output: l, 3917, 6351, 659, v, 4767, S, 1001, 1073, Y, Z, 9763, Z, o, 2921, h, H, 3493

Example Input: [7257, 'p', 'o', 7595, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'v', 'P', 'l', 'i', 'q', 6171, 397, 1631], [4641, 1471, 5915, 1657, 4847, 'v', 3719, 'U', 9943, 'v', 2189, 9163, 'Y', 'C', 'e', 3867, 3395, 'm', 5999, 9653, 'K', 'H', 2767, 1999, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'g', 5715, 'm', 'K', 'g', 'Q', 5439, 7327, 'V', 1335, 885, 9993, 'n', 2303, 1305, 9329, 'i', 5357, 't', 7567, 2211, 787, 7459]
Example Output: w, S, U, 3739, Z, n, m, M, 6421, 3519, B, 2639, a, 8269, j, 2425, E, E, V, H, D, d, M, o, 3915

Example Input: [1969, 1099, 'q', '9905', 'q', 'o', 'l', 'z', '9921', '2747', 'd', 5219, 'w', 6169], [7669, 881, 'x', 8641, 'D', 'a', 'k', 'q', '9905', 'q', 'o', 'l', 'z', '9921', '2747', 'c', 'S', 8377, 'w', 4283, 6533, 8245, 'L']
Example Output:
q, 9905, q, o, l, z, 9921, 2747