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

Q: ['K', 1657, '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'X', 'n', 3631, 'o', 'm'], ['P', 6249, 7565, 's', 1041, 'V', 'D', '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'n', 'U', 'z', 2559, 5379, 6985, 6059]

A: 5001, 8571, 2343, 9471, P, 6369, 9299
****
Q: ['z', 'L', 'e', 3279, 's', 'U', 'p', '2885', 'w', 'x', 7713], [3907, 'e', 's', 'U', 'p', '2885', 'w', 'F', 'x', 'v', 5319]

A: s, U, p, 2885, w
****
Q: [533, 'Y', 'e', '3093', '8197', '6805', 'p', 'I', '5611', '5129', '3971', '3367', '2215', 'j', '8257', 'T', 'T', 'N', 3791, 7137, 'J', 'n', 2961, 'T'], [3519, 'D', 131, 4289, 'v', 'i', 6731, 5999, 'W', 'k', 'e', '3093', '8197', '6805', 'p', 'I', '5611', '5129', '3971', '3367', '2215', 'j', '8257', 'T', 'T', 'w', 'o', 2537, 'f', 'y']

A:
e, 3093, 8197, 6805, p, I, 5611, 5129, 3971, 3367, 2215, j, 8257, T, T
****