In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5911, 'L', 'S', 'K', 't', 'Y', 'j', '4025', '1847', 'a', 'R', 2589], ['k', 1773, 't', 'Y', 'j', '4025', '1847', 'v', 8529, 'G', 2089, 8217]