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

Q: [621, 7677, 'b', '889', '6721', 'H', 'd', 'S'], [8151, 'F', 'b', '889', '6721', 'h', 4123]

A: b, 889, 6721
****
Q: ['t', 845, 'T', '5285', '7837', 'N', 6717], [7211, 7903, 'U', 'T', '5285', '7837', 'D', 'U', 'R']

A: T, 5285, 7837
****
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
****