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: [2647, 'D', 'q', 'P', 6067, 3591, 1081, 'T', 2835, 5797, 7213, 7679, 'W', 4661, 7889, 9677, 3313, 7233, 9121, 2061, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'a', 547, 657, 5609], ['o', 8055, 'b', 345, 'k', 1237, 'R', 'M', 2177, 'V', 3921, 'k', 'o', 'z', 7451, 27, 'F', 8073, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'e', 9767, 1391, 'Q']

A: v, u, 325, 8069, 4691, 9597, O, 8811, 6583, M, 4393, 1767, v, 2707, 4419, Q, a, 3885, 1795, 9599
****
Q: ['Q', 'L', 3901, 3741, 'B', 8419, 2273, 'j', 'o', 'y', '4369', 'T', 'H', '8765', 'R', '9567', '6699', '1521', '7349', 'h', '1571', 'j', 'z', 6147, 'h'], [2115, 7503, 'y', '4369', 'T', 'H', '8765', 'R', '9567', '6699', '1521', '7349', 'h', '1571', 'j', 'j', 7717, 'F', 'v', 8675, 'k', 'R', 3975, 5579]

A:
y, 4369, T, H, 8765, R, 9567, 6699, 1521, 7349, h, 1571, j
****