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

Q: [6917, 7141, '3657', '9205', 'b', 'm', 'Q', 'g', 'q', 'l'], [1429, 7173, 3447, '3657', '9205', 'b', 'm', 'Q', 'U', 'f']

A: 3657, 9205, b, m, Q
****
Q: [4931, 5661, 8651, 'l', 'd', '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'K', 2179, 5747, 'C'], [3737, 7345, 3921, 'i', 9199, 3269, '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'A', 'd', 185, 'M']

A: 9585, r, U, z, 6511, 9443, 2917
****
Q: [6947, 2807, 'Q', '6825', 'C', '1665', '7971', '5643', '897', 'J', 'V', 9495], ['r', 'm', 7317, 6065, 1419, '6825', 'C', '1665', '7971', '5643', '897', 'J', 'k', 7655, 'i', 'g', 'Y']

A:
6825, C, 1665, 7971, 5643, 897, J
****