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

Q: [8711, 'f', 8715, 7649, 4967, '5867', 'i', '6567', 'R', '6087', '2945', 'J', 'j', 9099, 6331], ['a', 'T', 'n', 4869, '5867', 'i', '6567', 'R', '6087', '2945', 'M', 3125, 'D', 3835]

A: 5867, i, 6567, R, 6087, 2945
****
Q: ['V', 9605, '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'x', 'G', 3653, 'F'], [2801, 2015, 5249, 'u', 'T', '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'N', 'c', 'h']

A: 383, W, r, 2107, 375, 5329, 1973, e, 6041, b, 7285, u, 8099, 2721, 6361, 2135, 4997
****
Q: ['x', 5659, 'L', 'P', 8559, 957, 'g', 8417, 1959, 7069, 'd', 'G', 'G', 'E', 77, 1347, 2909, 8117, 'C', '5699', 't', '2157', '2027', 'L', 'l', 's', 'A', '3749', '2901', '6411', '2411', '1067', '5577', '8369', 'Y', 'R', 'G', '1699', 'M', 'w', '9299', '7161', 's', 5201, 9079], ['N', 867, 'C', '5699', 't', '2157', '2027', 'L', 'l', 's', 'A', '3749', '2901', '6411', '2411', '1067', '5577', '8369', 'Y', 'R', 'G', '1699', 'M', 'w', '9299', '7161', 'G', 'Z', 77, 't', 'p', 3815, 6231, 'D', 5121]

A:
C, 5699, t, 2157, 2027, L, l, s, A, 3749, 2901, 6411, 2411, 1067, 5577, 8369, Y, R, G, 1699, M, w, 9299, 7161
****