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

Q: [319, 1325, 9567, 'M', 'm', 1759, 't', 'Z', 'X', 7981, 2409, 5023, 'b', '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'I', 5289, 1221, 'k', 5727, 5411, 7127, 'F', 'J', 'o', 7587, 'm', 237, 415, 8413, 'j'], ['O', 5043, '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'v', 5793]

A: 8661, 6609, 8213, Y, 9541, 8065, M, 8267, V, K, 3217, 1111, 1411, u, 9705, V, U, 3171, 4195, Z, t, p
****
Q: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]

A: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R
****
Q: [229, 5763, 8105, 'l', 'n', 3947, 'm', 6939, 4893, 't', 6653, 243, 1257, 993, 2325, '5991', '185', 'H', 'n', '2367', '9803', '5815', 'N', 'r', '7587', '9393', '8529', '1077', '4655', '3499', '2981', '4505', 'w', 'u', 'h', '8659', 'R', 'X', 'f', 2417, 'V', 'X', 'u', 5107, 'c', 'R', 5151, 'I', 301, 'V', 9025, 1271], [5087, 'k', 'd', 'G', 51, 'U', 423, 9195, 'J', 'y', '5991', '185', 'H', 'n', '2367', '9803', '5815', 'N', 'r', '7587', '9393', '8529', '1077', '4655', '3499', '2981', '4505', 'w', 'u', 'h', '8659', 'R', 'e', 4421, 6709, 'B', 7547, 'C', 'M', 8739, 'W', 'x', 2371, 'O', 5775, 'S', 2305]

A:
5991, 185, H, n, 2367, 9803, 5815, N, r, 7587, 9393, 8529, 1077, 4655, 3499, 2981, 4505, w, u, h, 8659, R
****