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

Example Input: [1307, 'u', 'Z', 3323, 191, 'i', 'h', 't', 'L', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'C', 'M', 'y', 'h', 7985, 9989, 'j'], [2817, 1955, 2973, 'Y', 9221, 'z', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'G', 'M', 2083, 'O']
Example Output: 8549, 7861, 9747, 3985, g, r, 1247, R, S, a, a, 749

Example Input: [3453, 883, 'a', 'C', 7891, 'T', 8245, 9759, 'J', 'Z', 6515, 'B', 'j', 3353, 859, 2123, 3289, 'I', 'e', 'p', 4473, 'A', 7815, 4401, 'Z', 2071, 'm', 'C', '4283', '8455', '697', '1653', '6739', '7729', 'K', 'a', 'v', 'c', '69', '7427', '4721', '7015', '497', '7697', '7533', 'l', 'l', 'U', '6481', 'm', '5107', 'v', 'M', 'u', '3649', 'O', 5601, 5705, 'B', 2271, 7875, 'E', 4389, 'U', 9283, 'v', 2119, 457, 'W', 'd', 'C', 'i', 3311, 'X'], ['u', 'z', 'I', 'x', 'l', 'm', 'C', '4283', '8455', '697', '1653', '6739', '7729', 'K', 'a', 'v', 'c', '69', '7427', '4721', '7015', '497', '7697', '7533', 'l', 'l', 'U', '6481', 'm', '5107', 'v', 'M', 'u', '3649', 'J', 9139, 9981, 'O', 5677, 9201, 3941, 'r', 'w', 5597, 9451, 2807, 3577]
Example Output: m, C, 4283, 8455, 697, 1653, 6739, 7729, K, a, v, c, 69, 7427, 4721, 7015, 497, 7697, 7533, l, l, U, 6481, m, 5107, v, M, u, 3649

Example Input: [1599, 5229, 'o', 'a', 'U', 'T', 2539, 'F', 3459, 4587, 'p', 3589, '2625', 'D', 'L', 'u', 'J', '2053', 'h', 'd', 'U', 'x', '6557', '289', 't', '3537', 'b', 'p', 'X', '8747', 'B', 'Q', '2027', 'g', 'k', '2499', 'H', '1949', '3225', '1765', '2371', 'x', 'x', 'h', 'H', 'N', 'i', 'T', 'Y', 1463, 'O', 'd', 'u', 6067, 4917, 2823, 2701, 'i', 'Z', 'd', 'w', 'P', 'v', 543, 5803, 8251, 7747, 'K', 'C', 'i', 'D', 'b'], ['g', 'T', 'Q', 'V', 6379, 'M', 3153, 'd', 'u', 6505, 'L', 'z', 7063, 1795, 1745, '2625', 'D', 'L', 'u', 'J', '2053', 'h', 'd', 'U', 'x', '6557', '289', 't', '3537', 'b', 'p', 'X', '8747', 'B', 'Q', '2027', 'g', 'k', '2499', 'H', '1949', '3225', '1765', '2371', 'x', 8993, 2045, 'H', 5495, 'f', 9047, 2493, 6571, 'P', 'F', 'L', 9203, 7839, 'P', 'L', 8115, 'S', 'T', 8933, 'L', 'O']
Example Output:
2625, D, L, u, J, 2053, h, d, U, x, 6557, 289, t, 3537, b, p, X, 8747, B, Q, 2027, g, k, 2499, H, 1949, 3225, 1765, 2371, x