In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 2869, '5303', 'A', 'M', '2759', 'u', '9085', 'R', 'j', '4031', '4143', 'r', 'v', 'b', '4957', 'm', 2251, 2585, 9375, 'O', 5519, 'R', 5005], ['j', 7693, 7929, '5303', 'A', 'M', '2759', 'u', '9085', 'R', 'j', '4031', '4143', 'r', 'v', 'b', '4957', 'g', 'S', 6669, 629, 'p', 8159, 7507, 9247, 'D', 4403]