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

Q: ['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']

A: 8337, L, 4245, M, M, H, 4531, B, p, 6961
****
Q: ['t', 845, 'T', '5285', '7837', 'N', 6717], [7211, 7903, 'U', 'T', '5285', '7837', 'D', 'U', 'R']

A: T, 5285, 7837
****
Q: [4973, 7751, 8887, 'o', 'd', 'E', 'x', '5983', 'X', '1439', '3711', 'm', 'K', '7795', '8965', 'o', 'C', '7479', 'c', 'L', 'W', 'u', 4015, 'D', 'Z', 'X'], ['w', 3033, 4371, 'M', 6769, 8775, 'Q', 'x', '5983', 'X', '1439', '3711', 'm', 'K', '7795', '8965', 'o', 'C', '7479', 'S', 1873, 't', 'L', 9321, 'x', 'L', 8549, 4305, 6157]

A:
x, 5983, X, 1439, 3711, m, K, 7795, 8965, o, C, 7479
****