In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['I', 3863, 'V', '965', '4493', '41', '2729', 'x', 'L', 'N', 'v'], [8325, 2365, 457, 6261, 'h', 2727, 'V', '965', '4493', '41', '2729', 'x', 'L', 'j', 4971, 6421, 2629, 'w']