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

Q: ['m', 'J', 'X', '8931', 'u', 'm'], ['V', 3299, 'X', '8931', 'Z', 6965]

A: X, 8931
****
Q: [435, 5991, 'L', 2351, 5221, 6381, 8655, 'U', 'q', 7163, 1771, 'c', 1181, 'v', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'u', 1721, 'W', 4519, 8045, 7749, 7163], ['z', 'Z', 9691, 'b', 'Y', 'A', 'a', 'q', 7549, 'm', 'x', 's', 'b', 5655, 2087, 'f', 'o', 8235, 1383, 'h', 'O', 7531, 'T', 2283, 'r', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'P', 4935, 7767, 4325, 755]

A: 4831, 8155, D, 3079, 1677, r, 2713, k, 9587, 8141, 3037, 21, 9135, 9197, 3459, P, 915, s, 5539, h, 599, 9937, o, C, 1637, 8921
****
Q: ['K', 2991, 'i', 3155, 8499, 'e', 3323, 6795, 9847, 889, 'j', '9567', 'J', 'Z', '8219', 'r', 'I', 'Y', 'H', '6515', 't', 'N', 2727], ['B', 4497, 'R', 'J', 2345, 6963, 4335, 2811, 409, 'j', '9567', 'J', 'Z', '8219', 'r', 'I', 'Y', 'H', '6515', 'o', 4297, 'J', 'A', 8627, 1741, 'b', 8519, 'p', 5923]

A:
j, 9567, J, Z, 8219, r, I, Y, H, 6515
****