In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8079, 'i', 'N', '6941', 'd', 'v', 'r', 'H', 7291, 'z'], [7895, 'D', 5391, '6941', 'd', 'v', 'r', 'K', 'U', 7899, 'j']