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

Q: ['w', 5919, 'P', 6117, 7697, 'Y', 4467, '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'u', 'P', 1347, 'y', 'r', 'o', 5611, 'L', 999, 4781], [9955, 'n', 8107, 7059, 'V', 'E', 2417, 1811, 3625, 623, 'T', 'R', 'p', 'l', 'W', 8103, 3691, 'N', '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'k', 'p', 'L', 1311, 591, 'J', 5611, 'Q', 'p', 'I', 5921, 237, 'y', 1981, 3861, 'B', 'n', 'r', 'H']

A: 3097, 2793, x, P, c, o, 8777, D, 1983, 2397, X, t, k, 8109, 2549, b, 7173, 3843, k
****
Q: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]

A: 7171, I, m, 3035
****
Q: ['D', 'M', 3063, 4737, 7969, 'R', 'S', 8469, 'j', 5603, 4911, 6755, 'u', 843, 4481, 'T', 'U', 't', 'Z', 7501, 6415, 'C', 4833, 'y', 'v', '6803', '5773', '5045', '5881', '6685', '7575', 'F', '4161', '5823', 'k', '8579', '5823', 'R', 'z', '1857', 'w', '569', '4017', 'y', 'x', '6157', 'u', 'b', 'x', 'm', 'P', 'a', 'J', 5843, 't', 'F', 'w', 6935, 2759, 7235, 'f', 'r', 7841, 897, 9887, 6795, 6455], ['m', 2297, 'q', 1985, 8697, 'Q', 757, 7211, 491, 5041, 5047, 5891, 'y', 'v', '6803', '5773', '5045', '5881', '6685', '7575', 'F', '4161', '5823', 'k', '8579', '5823', 'R', 'z', '1857', 'w', '569', '4017', 'y', 'x', '6157', 'u', 'c', 6861, 'C', 6723, 'j', 'p', 'V']

A:
y, v, 6803, 5773, 5045, 5881, 6685, 7575, F, 4161, 5823, k, 8579, 5823, R, z, 1857, w, 569, 4017, y, x, 6157, u
****