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

Q: ['r', 187, 'm', 'S', 'z', 5311, 'Y', 'h', 'y', 'F', 'n', 'h', 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'b', 'n', 'P', 'k', 5257, 'A', 'm', 'q', 'Q', 'n', 'n', 'd'], [5561, 8887, 7269, 'z', 7529, 4645, 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'y', 1507, 'z', 'a']

A: V, 5467, C, d, 2611, 3895, h, W, T, 7115, N, 4227, 2001
****
Q: ['G', 'w', 303, 3489, 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'i', 4849, 4213, 6515, 2843, 'w', 's', 'I', 'i', 'T', 5141, 'U', 3963, 243, 4619, 9651, 'Z', 'u', 'L', 5451, 'v'], [259, 'j', 'd', 'z', 1223, 2837, 'W', 6601, 'e', 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'j', 'T', 3007, 'r', 3347, 'L', 3661, 2089, 8855, 'Y', 4855, 2825, 2471]

A: P, 3623, 5367, q, n, s, X, 7543, 6035, 9099, 5525, 3181, p, 9521, I, 8151, 5793, 8009, o, 8671, Q, 2929
****
Q: [2009, 5723, 'u', '187', '9175', '1885', 'F', '6505', 'H', 9683], ['I', 1133, 'I', '187', '9175', '1885', 'F', '6505', 'C', 'h', 2645, 4459]

A:
187, 9175, 1885, F, 6505
****