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

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: ['z', 'F', 'H', 'E', 1495, 'u', 't', 'm', 'o', '1165', 'b', 75, 'B'], ['n', 'H', 'M', 'j', 3999, 'u', 't', 'm', 'o', '1165', 'r', 'x', 'W']
Example Output: u, t, m, o, 1165

Example Input: [573, 6631, 'u', 1335, 'I', 'W', 7353, 4367, 'R', 'G', 8845, 'D', 4773, 10005, 'P', 3371, 8635, 'x', 'B', 'K', 4175, 5509, 8339, 'e', '4907', 'e', '8381', '5705', '7401', 'v', '6079', 'l', '9233', 'h', 'j', '879', '45', '6379', '65', '3547', 'n', '9157', '9873', 'C', '8195', '1535', 'G', '8143', 'B', 'N', 'R', 'A', 'g', 'k', 'Q', 4563, 'm', 5741, 'P'], ['K', 5177, 3807, 8367, 4977, 's', 'C', 'O', 'I', 'j', 'R', 4281, 8889, 3099, 'F', 'x', 'b', 'Y', 'z', 'u', 5899, 'A', 8695, 'q', 'v', 'z', 8617, 5187, 'I', 'e', '4907', 'e', '8381', '5705', '7401', 'v', '6079', 'l', '9233', 'h', 'j', '879', '45', '6379', '65', '3547', 'n', '9157', '9873', 'C', '8195', '1535', 'G', '8143', 'B', 'N', 'R', 'A', 'K', 879, 8747, 'C', 'q', 'b', 7433, 'R', 'i', 'B', 1021, 7293, 7863, 'p', 8401, 8719, 7979, 751, 'C', 5287, 7459, 6229, 'J', 4621, 'd', 3851]
Example Output:
e, 4907, e, 8381, 5705, 7401, v, 6079, l, 9233, h, j, 879, 45, 6379, 65, 3547, n, 9157, 9873, C, 8195, 1535, G, 8143, B, N, R, A