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

Q: ['s', 1853, 'h', 'T', 'f', 'N', 'c', 643, 8659, 'E', 'v', 'A', 't', 779, 'S', 'p', 'A', '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'X', 1613, 't', 'Q', 747, 'F', 9819, 7747, 7059, 509, 1169, 'z', 9807, 4297, 7399, 7009, 'z', 'L', 3495, 'c', 'l', 'd', 'A'], ['C', 4481, 'H', 3327, 7321, '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'F', 'o', 'O', 2361, 9341]

A: 9745, 2013, o, 9115, Y, f, l, 9683, 4447, G, W, 3807, 6689, 3789, 9207, 4683, s, 6555, 7405, F, 7739, 3145, 8895, 2515
****
Q: ['n', 'B', 9073, 2685, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'Z', 'i', 643, 5111, 2247, 'a', 'D', 'd', 1549, 'y', 513, 9369], ['Q', 'n', 'z', 9967, 'S', 9781, 1179, 'f', 5261, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'G', 215, 'Q', 4821, 9073]

A: 3289, 9837, 4995, e, 3075, m, 1005, 2279, P, 3949, 643, y, 6717, I, 891, k
****
Q: [3797, 6721, 7075, 5025, 't', 'z', 'K', 9865, 'v', 6709, 'j', 'b', 5599, '1161', '8349', '2267', '3935', 'c', 'f', '89', '469', 'e', 'q', '6397', 'H', 'j', '1653', 'l', 'D', 'V', 'a', '5997', '7597', 'f', 'F', 3097, 'b', 7855], [8427, 't', 'k', 5177, '1161', '8349', '2267', '3935', 'c', 'f', '89', '469', 'e', 'q', '6397', 'H', 'j', '1653', 'l', 'D', 'V', 'a', '5997', '7597', 'i', 'p', 3961, 'V', 2689, 3427, 5185, 2515, 'q', 'M', 1705, 6407, 3783, 't']

A:
1161, 8349, 2267, 3935, c, f, 89, 469, e, q, 6397, H, j, 1653, l, D, V, a, 5997, 7597
****