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: [1103, 'N', 9147, 7165, 'V', 'f', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'G', 7437, 3205, 'g', 8083, 'q', 3507, 'L', 9495], [5075, 't', 8603, 5843, 't', 7843, 451, 'M', 'Z', 'e', 5525, 'l', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'z', 'K', 7637, 2523, 1279, 'r', 'n', 'f', 1773, 'o', 4173, 4627, 39]

A: 7111, D, u, 7395, 1823, f, 4665, v, W, 7465, V, h, 3957, w, T, x
****
Q: [3755, 4389, 'E', 'Y', 5057, 'i', 8497, 7937, 'A', 'E', 5747, 5803, 'n', 'E', 2635, 'W', 'x', '67', 'g', 'Q', 'K', '3381', '1919', 'm', 'X', '8185', '6089', 'F', '3951', '3829', '3251', '9899', '6619', 'v', 'A', '6113', '1423', 'z', 'Y', 'n', 'K', 'X', 'J', 'H', 3889, 'F', 'N', 'v', 4937, 'C', 'f', 'l', 'a', 'n'], ['V', 9321, 6527, 7041, 4537, 'F', 9197, 'C', 'v', 1989, 5855, 575, 3131, 'x', '67', 'g', 'Q', 'K', '3381', '1919', 'm', 'X', '8185', '6089', 'F', '3951', '3829', '3251', '9899', '6619', 'v', 'A', '6113', '1423', 'z', 'B', 'o', 5291, 497]

A:
x, 67, g, Q, K, 3381, 1919, m, X, 8185, 6089, F, 3951, 3829, 3251, 9899, 6619, v, A, 6113, 1423, z
****