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

Example Input: [1929, 4689, 'n', 8041, 9403, 9827, '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'L', 'f', 'm', 'Z', 6739, 'Q', 'm', 'B', 2313], ['v', 'l', 1235, 'N', 9583, 'p', 5865, 'd', 'L', 8093, 9981, 7681, 'j', 'W', 'i', 'N', 'S', 7663, 'K', 'T', 'O', 'S', 5629, 'M', 5999, 'V', '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'R', 9373, 'U', 'A', 9265]
Example Output: 9187, 8209, 859, g, W, U, 1479, r, 4511, Z, c, 1191, A, 6903, n, 5933, 3263, 5161, 2377, 4877, f, 4231, 7169, z, k, 2733, 9957

Example Input: ['o', 5261, 'R', 8999, 'G', 1965, 3921, 9539, 5343, 'c', 6119, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'S', 6387, 'u'], ['B', 'X', 319, 1715, '4617', '7787', 'P', '295', 'U', '1429', '7667', 'G', '8607', 'R', '7375', 'E', 'R', 'T', 'Q', 3169, 'x', 'L', 'Q', 1161, 5639]
Example Output: 4617, 7787, P, 295, U, 1429, 7667, G, 8607, R, 7375, E, R

Example Input: ['m', 5117, 'd', 'W', 'V', 9937, 'o', 'i', 'd', 'U', '6179', '2995', 'J', 'C', 'v', 'g', 'p', 'J', 'M', 'f', 'H', 'K', 'h', 'K', 'e', 865, 'A', 'O', 9395, 'q', 'W', 3941, 'f', 'z', 'm', 'K'], ['c', 'p', 1921, 'J', 'J', 'g', 4915, 9469, 5443, 413, 's', 6559, 'F', 'E', 'd', 'U', '6179', '2995', 'J', 'C', 'v', 'g', 'p', 'J', 'M', 'f', 'H', 'K', 'h', 'N', 7067, 'S', 'c', 3733, 4981, 9367, 'l', 'v', 2549, 'W', 6441, 691, 6639]
Example Output:
d, U, 6179, 2995, J, C, v, g, p, J, M, f, H, K, h