In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4739, 'M', 3417, 'm', 'n', 'k', '7569', '1549', 'v', 'n', 'Z', 'n', 5349, 3067, 'a'], ['t', 'w', 'P', 'M', 'l', 'R', 'n', 'k', '7569', '1549', 'v', 'n', 'Z', 'D', 8459]