In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4773, 'e', 'v', 'r', 'R', 'w', 'Q', 'Z', 'u', '2805', '391', 'F', 'z', '9181', '621', '1647', 'D', 'J', 'w', 'i', 'p', 3627, 'k', 671, 1601, 5461, 2135, 'w'], [5821, 3285, 'T', 'D', 7515, 'I', 'q', 4841, 4263, '2805', '391', 'F', 'z', '9181', '621', '1647', 'D', 'J', 'w', 'i', 'N', 'C', 7883, 'T', 761, 5207, 'M', 1523, 9039]