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

Q: [1065, 2741, 'w', 'B', 'X', '5865', 's', '2579', '3679', 'K', 4415, 5237], [9019, 4795, 8363, 1935, 9883, 'X', '5865', 's', '2579', '3679', 'y', 4605, 8603, 1243, 9199]

A: X, 5865, s, 2579, 3679
****
Q: [8471, 8309, 'g', 'f', 5019, 'd', 8129, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'L', 5985, 2953, 6897, 'n', 9209, 3281, 'w', 4011, 't'], ['g', 7529, 'q', 6213, 'c', 'l', 6053, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'B', 2159, 7633, 8707]

A: r, e, l, B, 7297, c, 2785, 919, B, 5459
****
Q: [2001, 2739, 7183, 5637, 5587, 685, 'G', '107', 'N', 'i', '687', 'm', '161', 'd', '4831', '7457', 'l', 'F', '2137', 'p', '2175', 'x', 'a', 'r', 'D', '6933', '9765', 'x', '5659', 'Y', 'j', 'D', 'b', 'u', 9343, 't', 'z', 6445, 's', 949, 'L', 6259, 2137, 'b', 'W', 6925, 4419, 'P', 1159, 't', 'w', 2379, 4683, 't', 'N', 4329], ['E', 7669, 'R', 1561, '107', 'N', 'i', '687', 'm', '161', 'd', '4831', '7457', 'l', 'F', '2137', 'p', '2175', 'x', 'a', 'r', 'D', '6933', '9765', 'x', '5659', 'Y', 'j', 'D', 'b', 'U', 'v', 3851, 'Y', 'o', 'R', 'C', 713, 'M', 't', 'P', 7615, 'Q']

A:
107, N, i, 687, m, 161, d, 4831, 7457, l, F, 2137, p, 2175, x, a, r, D, 6933, 9765, x, 5659, Y, j, D, b
****