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

Q: [3585, 8561, '6537', 'm', 'e', 'E'], ['H', 'x', '6537', 'm', 'i', 9553]

A: 6537, m
****
Q: [7409, 'l', 'h', '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'J', 'M', 'Q', 'R', 5567, 'p', 'L'], [2329, 5573, 'N', 't', 3213, 9107, 9337, 79, 1607, 'J', 'y', 'g', 's', 'h', 4251, 'L', 3147, '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'x', 'Q']

A: 6739, 5187, K, D, 7539, 5609, x, p, S, j, j, 3077, 6081, d, 61, 2871, s
****
Q: [5315, 'I', 7615, 5239, 'w', 9151, 'Q', 'o', 8751, 4113, 'R', 3421, 'H', '3087', '8909', '1179', '6419', '2941', 'x', '7439', '7911', 'c', 'Q', '3043', '6193', 'n', 'A', 'R', 4953], ['E', 4197, 5957, 5833, 7639, 657, '3087', '8909', '1179', '6419', '2941', 'x', '7439', '7911', 'c', 'Q', '3043', '6193', 'n', 'z', 4767, 'q', 5171, 'V', 6115, 4681, 6049]

A:
3087, 8909, 1179, 6419, 2941, x, 7439, 7911, c, Q, 3043, 6193, n
****