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

Q: [2185, 'H', 9933, 6987, 'l', 'N', 3787, 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 't', 8763, 2723, 457, 8941, 9919], [2819, 4477, 'x', 'S', 'D', 1309, 4739, 'B', 'Z', 'K', 7141, 'I', 'x', 6709, 'p', 5629, 'M', 8669, 3157, 5169, 9737, 'Z', 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 'w', 'j', 5143, 6859, 8985, 8441, 'K', 'H', 's']

A: H, K, X, I, 8517, a, M, e, 7443, 185, 6897, 8395, 3867, 4671, e, 2031, 877, T, 735, 1273, d, 7757, 2005
****
Q: [4601, 2349, 'b', 'b', 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'u', 7239, 'o', 5437, 5729, 3109], [2629, 9653, 7873, 'T', 6873, 2939, 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'w', 'G']

A: o, d, D, M, P, 3119, s, 9507
****
Q: [8891, 9883, 1799, 373, 'w', 135, 'U', 'y', 6675, 2555, 'g', '8717', '6989', 'X', '3247', '3151', 'T', 'Q', 't', '3681', '1419', '1977', '7331', '2731', 'T', 'K', '9493', 'Z', 1999, 'm', 'E', 'F', 'C', 9395, 'z'], [6421, 'T', 'h', 4047, 'T', 3549, 9447, 'w', 4153, '8717', '6989', 'X', '3247', '3151', 'T', 'Q', 't', '3681', '1419', '1977', '7331', '2731', 'T', 'K', '9493', 'R', 'r', 4211, 'z', 5739, 5521, 'W']

A:
8717, 6989, X, 3247, 3151, T, Q, t, 3681, 1419, 1977, 7331, 2731, T, K, 9493
****