In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8209, 'N', 'L', 'L', '6997', 'i', '8155', 'f', 'i'], ['E', 'Q', 2901, 6165, 'L', 'L', '6997', 'i', '8155', 'v', 3773, 9633]