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

Q: [2687, 7971, 2141, 'X', 'z', 1281, 'K', 6109, 7773, 'P', 5247, 'j', 'K', 5225, 'c', 4401, 'Z', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'B', 'k', 4913, 5483, 1465, 'F', 9669, 'i', 'L', 'q', 'n'], ['k', 'g', 'e', 'I', 'v', 97, 'N', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'H', 7153, 7967, 'u', 7859, 1387, 7361]

A: j, Y, 4799, h, 5519, n, 3231, l, 3003, F, 5599, J, q, r, 889, e, 9805, X
****
Q: [1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]

A: 5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B
****
Q: [6635, 4923, 'D', 'T', 'v', 'z', 4243, 'p', 'J', 1695, 6533, 'K', 'F', 'M', 'z', 8585, 'U', 'h', '2231', 'e', 'f', 'm', 'y', 'b', 'M', '1435', 'O', '2915', '7527', 'X', 'd', 'u', '7199', '4719', '3963', '2109', '1711', 'F', '9473', '1785', 'V', 'p', '697', '2725', '2983', 'c', 7781, 7149, 'H', 'I', 'a', 759, 5659, 'w', 'o', 'U', 4583, 7981, 8065, 9469, 'a', 'W', 2451, 5023, 3181, 'w', 2369, 'P', 611], [9259, 'U', 'F', 5325, 'I', 7025, 'w', 'a', 'R', 'i', 'u', 5997, 'y', 'h', '2231', 'e', 'f', 'm', 'y', 'b', 'M', '1435', 'O', '2915', '7527', 'X', 'd', 'u', '7199', '4719', '3963', '2109', '1711', 'F', '9473', '1785', 'V', 'p', '697', '2725', '2983', 'g', 9785, 4783, 'p', 'l', 'p', 'A', 6331, 4863, 585, 4367, 6145, 'A', 'o', 'j', 's', 2375, 'N', 3867, 'd']

A:
h, 2231, e, f, m, y, b, M, 1435, O, 2915, 7527, X, d, u, 7199, 4719, 3963, 2109, 1711, F, 9473, 1785, V, p, 697, 2725, 2983
****