In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6815, 5159, 2851, 'C', 7811, 'v', 'm', 'T', '5897', 'm', '543', 'k', '3025', 'X', 'L', 'c', '4657', 'A', 'f', 4513, 'Q', 'M', 1297, 'y'], [2035, 'W', 1797, 6337, 'T', 'p', 'J', 'K', 4331, '5897', 'm', '543', 'k', '3025', 'X', 'L', 'c', '4657', 'A', 'j', 'y', 'c', 6039, 'g']