In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2421, 'M', '705', 'f', '145', '8145', 'L', 'K', '6677', 'Y', '3439', 'Q', '3811', 'q', 'K', '521', 'Y', 'N', 5531, 'M'], [6245, 1979, 1399, 2767, 4861, 7581, 'M', 9413, 'v', 'v', 9221, '705', 'f', '145', '8145', 'L', 'K', '6677', 'Y', '3439', 'Q', '3811', 'q', 'K', '521', 'F', 'C', 5695, 6041, 6435, 'j', 'o', 'd', 'H', 'a', 2651]