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

Q: ['V', 6409, 2901, 2857, 'm', 'Z', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'u', 6709, 5107, 75, 'D', 3405, 8783, 'f', 9429], [4593, 'J', 9331, 'R', 'F', 9237, 9523, 3727, 9529, 4753, 'y', 'd', 'P', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'K', 'e', 'g']

A: H, D, I, w, 8693, 7057, a, 2847, 5289, n, 9155, Z, L, 1065
****
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: [5181, 'F', 9107, 'D', 'o', 'E', 'A', 5459, 2075, '4883', '9281', '2779', 'G', '3957', 'n', '2605', 'c', '7219', 'o', 'g', 1585, 9889, 's', 919], [6883, 'Z', 9927, '4883', '9281', '2779', 'G', '3957', 'n', '2605', 'c', '7219', 'o', 'f', 7287, 'c']

A:
4883, 9281, 2779, G, 3957, n, 2605, c, 7219, o
****