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

Q: [7849, 813, 1309, 3749, '10001', 'g', '1057', 'c', 't', 't', 'i', 2269, 'M', 'q', 373], ['d', 4077, 3209, 'g', 5643, '10001', 'g', '1057', 'c', 't', 't', 'h', 'Y', 8349, 'q', 3939, 1333]

A: 10001, g, 1057, c, t, t
****
Q: [6507, 8623, 6879, '1327', '6971', 'd', 'A', 3663, 7831], [1711, 4751, 3479, '1327', '6971', 'd', 'u', 1771]

A: 1327, 6971, d
****
Q: [1519, 'G', 7315, '10013', '7377', '1459', '3401', 'u', 'Z', '9807', 'n', '2551', 'D', '8295', 'k', 'x', 355, 'V'], [1645, 'j', 'D', 'H', '10013', '7377', '1459', '3401', 'u', 'Z', '9807', 'n', '2551', 'D', '8295', 'H', 'O']

A:
10013, 7377, 1459, 3401, u, Z, 9807, n, 2551, D, 8295
****