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

[2787, 'N', 'I', 'M', 'x', '3825', 'r', '1041', 'y', 'a', 'v', 6057], ['F', 6523, 'x', '3825', 'r', '1041', 's', 'C', 3001, 8425]
x, 3825, r, 1041

['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']
R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X

['o', 'K', 6275, 10015, 'A', 8555, 10017, 517, 1383, 'c', 1653, 'c', '5857', '3759', '3467', 'S', '3971', '8861', 'n', '47', 'V', '1761', '9771', 'K', 'j', 1201, 3777], ['i', 'S', 'm', 5797, 1339, 'm', 1609, 5515, 1907, 1091, 'x', 8243, 'c', '5857', '3759', '3467', 'S', '3971', '8861', 'n', '47', 'V', '1761', '9771', 'M', 'x', 'N', 525, 8541, 7721, 1475, 'U', 1757, 9351]

c, 5857, 3759, 3467, S, 3971, 8861, n, 47, V, 1761, 9771