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

Q: [2765, 'r', 'p', 'k', 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'p', 'E', 2613, 9463, 55, 'w'], [1351, 'U', 'i', 5485, 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'A', 'n', 'Q', 'z', 'U', 'E']

A: G, 6021, 1013, s, f, 6081, 4495, 2193
****
Q: [9575, 'B', 2013, 'J', 'e', 7839, 1517, 1505, 'T', 1109, 5639, 'o', '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'j', 3455, 4281, 7515, 2685, 617, 'M', 'f', 1943, 2675, 'L', 'U'], [1429, 2865, 'Y', 745, '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'F', 'r', 'w', 3275, 'x', 'y', 'R', 'N', 'P', 4961, 'm', 'v', 'L', 'g', 'B']

A: 4409, L, 9207, 2481, W, 5287, h, b, h, T, g, k, 5867, p, 3705, 1257, 4107, 3389, a, r
****
Q: [631, 'u', 'V', '3839', 'v', 'v', 't', 'F', 'h', 'J'], ['F', 'c', 'u', 3605, 'X', '3839', 'v', 'v', 't', 'F', 'g', 6171, 3371]

A:
3839, v, v, t, F
****