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

[1363, 'O', 'u', '3885', 'y', '2105', '1495', '417', 'n', 9057, 2977], ['x', 'X', '3885', 'y', '2105', '1495', '417', 'X', 2883]
3885, y, 2105, 1495, 417

['U', 6489, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'I', 'B', 'R', 'N', 9533, 'd'], ['U', 4287, 'f', 'R', 1407, 3893, 6739, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'Z', 2981, 'i', 'a', 'k', 5909, 'S', 9997]
o, e, Z, G, 8175, r, 1915, 8587, 8845

['U', 5387, 'd', '987', 'Q', '4797', 'p', '3039', '2169', 'p', 'v', 'b', 'B', 4117, 9275, 373], ['E', 'Z', 'Q', 5597, '987', 'Q', '4797', 'p', '3039', '2169', 'p', 'N', 8473, 3047]

987, Q, 4797, p, 3039, 2169, p