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

['x', 495, 'L', 'O', 2935, 'y', 163, 3507, 6515, '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'w', 1985, 'F', 'V', 5375, 6359, 7963, 4103, 2625, 'p', 'N', 7945, 'L', 6909], [251, 'J', 'k', 4075, 'd', 'x', 'j', 'K', 'u', 605, 1667, 8527, 6845, 2537, 'O', 9259, 'o', 'B', '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'j', 'S', 'H', 1289]
5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t

[3043, 'd', 1055, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'Y', 'f', 4599], ['Q', 'X', 2931, 'f', 3139, 'r', 3625, 4375, 'B', 8381, '2909', 'J', 'D', '4735', '6701', 'v', 'P', '4341', '7905', 'G', '5297', '6721', 'N', 8281, 'W', 'u', 5969, 'w', 'b', 1735, 'j']
2909, J, D, 4735, 6701, v, P, 4341, 7905, G, 5297, 6721

[5329, 2241, 7701, 'q', 7907, 'm', 'G', '1643', '6877', 'f', '297', 'D', 'p', '1439', '8971', '2981', 'p', '9079', '8269', 'L', 'F', 'N', '2931', '1509', '5933', 'r', 'S', 'm', '7439', 'V', 'a', 6975, 'c', 'T', 'w', 225], [8279, 3703, 7427, 7145, 3015, 8603, 'b', 9185, 'B', 'R', '1643', '6877', 'f', '297', 'D', 'p', '1439', '8971', '2981', 'p', '9079', '8269', 'L', 'F', 'N', '2931', '1509', '5933', 'r', 'S', 'm', '7439', 'J', 'a', 'i', 'd', 'Q', 5087, 7269, 'l', 5201, 6211, 2597, 'm', 2077, 2593]

1643, 6877, f, 297, D, p, 1439, 8971, 2981, p, 9079, 8269, L, F, N, 2931, 1509, 5933, r, S, m, 7439