In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7111, 'u', 8981, 9683, 6013, 'o', 9795, 8273, 'V', '4505', '7941', '1147', '10021', 'P', '2285', 'Q', 'i', '4965', 'i', 'D', 3995, 'L', 'x', 'j'], [709, 'v', 5971, 1635, 3105, 'S', '4505', '7941', '1147', '10021', 'P', '2285', 'Q', 'i', '4965', 'a', 'N', 'g', 8789]