In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8841, 'V', 'Z', '5467', '5821', '6787', '2823', 'b', 'B', 'L'], ['l', 'd', 'C', '5467', '5821', '6787', '2823', 'b', 'i', 8319]