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

Q: ['d', 6171, 9855, 'D', 'e', '299', 'y', 'U', 'n', 'x', 'f', 2817, 7263, 2945, 'h'], [5759, 2135, '299', 'y', 'U', 'n', 'x', 'g', 2571, 'd']

A: 299, y, U, n, x
****
Q: [7395, 'b', 'k', 4085, 2295, 'W', 'e', 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'f', 4941, 6655, 8343, 2509, 6487, 'b', 'E', 'f', 'n', 'v', 'j', 7091, 9231, 9129, 7785, 9709, 2645, 3179, 'U', 631, 7891], [7807, 8461, 'n', 'C', 9827, 1359, 'O', 3781, 'k', 'n', 'F', 'l', 'x', 'O', 4867, 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'H', 'B', 'f', 'X', 2529, 2153, 'u', 'z', 747, 5899, 1307, 'l', 'Q', 'x', 3787, 'b', 1187, 'h', 9519, 3483, 'q']

A: d, 1583, 9993, x, 2291, 1847, R, a, n, r, G, 7947, 6081, H, K, t, 6537, q, V, 3423, 9531, 4907, 123, 4757, J, S, Q, D
****
Q: ['B', 'r', 5629, 4409, 7197, 'N', 'x', 'I', '6145', 'i', 'Q', '1033', '2945', 'K', '4931', 'y', 6505, 9149, 'E', 3067, 819], [2523, 'f', 2623, 'I', '6145', 'i', 'Q', '1033', '2945', 'K', '4931', 'a', 5449, 9193, 6325, 'i', 6901, 'E']

A:
I, 6145, i, Q, 1033, 2945, K, 4931
****