In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[857, 2591, 'j', '3529', 'P', 'i', 'i', 'v'], ['u', 5351, 'j', '3529', 'P', 'i', 'H', 'W', 2815, 'D']