In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 'S', 1267, 4231, 4807, 399, '1801', 'Z', '1629', 'a', '1215', '5629', 'R', 'v', 'W', 'i', 2039, 5093, 'B', 'V', 1363, 8681, 8331, 6373], ['H', 3861, '1801', 'Z', '1629', 'a', '1215', '5629', 'R', 'v', 'W', 'M', 3513]