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

Q: [571, 969, 3069, 7455, 'g', 'Z', 237, 8231, 71, 'X', '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'C', 'R', 3217, 1445, 3493, 'Y', 'G', 6747, 751, 1347, 7337, 'Z'], ['z', 'U', 477, 'm', 'y', 7909, 413, 6315, 'v', 7173, 1403, 'F', 'M', 7559, 7589, 9021, 'U', 2859, '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'k', 3817, 'Q', 1165]

A: 873, N, u, c, n, 759, p, I, 1007, O, V, 9137, G, 1727, 7437, t, 8909, L
****
Q: ['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']

A: 8337, L, 4245, M, M, H, 4531, B, p, 6961
****
Q: [7207, 6181, 887, 'g', 6829, 'w', 1539, 2999, 6991, '4627', 'D', '5895', '503', '7445', 'N', 'J', '3217', 'E', 'T', '6463', '631', '1533', '1067', 'C', 'I', '9769', 'J', 5087], ['c', 9947, 'f', '4627', 'D', '5895', '503', '7445', 'N', 'J', '3217', 'E', 'T', '6463', '631', '1533', '1067', 'C', 'I', '9769', 'n', 'l', 'z', 'K', 's', 7795, 4607, 'B', 2361]

A:
4627, D, 5895, 503, 7445, N, J, 3217, E, T, 6463, 631, 1533, 1067, C, I, 9769
****