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

[EX Q]: [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]
[EX A]: 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

[EX Q]: ['b', 'L', 'v', 7993, 2017, 929, '4549', '3397', 'O', 'M', 'F', '6233', '6011', 'Z', '8625', 'm', '1699', '7663', '2439', 'p', 'a', 'C', '9955', 'O', '1085', '2845', '2029', '391', 'O', '5349', 'L', '2971', '631', 'a', 3379, 'W', 397, 8293, 5007], ['j', 'O', 3563, 'V', 5991, 'z', 'd', 513, '4549', '3397', 'O', 'M', 'F', '6233', '6011', 'Z', '8625', 'm', '1699', '7663', '2439', 'p', 'a', 'C', '9955', 'O', '1085', '2845', '2029', '391', 'O', '5349', 'L', '2971', '631', 'm', 2835, 5795, 3245, 'A', 1761]
[EX A]: 4549, 3397, O, M, F, 6233, 6011, Z, 8625, m, 1699, 7663, 2439, p, a, C, 9955, O, 1085, 2845, 2029, 391, O, 5349, L, 2971, 631

[EX Q]: ['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']
[EX A]:
8447, K