In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4551, 'D', 'N', 'R', 'v', '4281', 'T', '2183', '5185', 'W', 'n', 7597, 'B'], [9423, 'n', 5219, '4281', 'T', '2183', '5185', 'W', 'g', 'v']