In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 9091, 7185, 5667, 7925, 2331, 'R', '2043', 'd', '6775', '6269', 'v', '6201', 'D', '8067', 'g', 'L', 'a', 3787, 'M', 2941], ['U', 3485, 8567, 6597, 2147, '2043', 'd', '6775', '6269', 'v', '6201', 'D', '8067', 'n', 'D', 2815]