In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2165, 9305, 'B', 437, 4907, 'q', 5409, 'a', '9961', 'r', '1433', '6729', 'f', 'W', 'q', '2185', '5915', 'X', 6035, 3615, 261, 5593, 'v', 'b', 8989], [5925, 1149, 'f', 6897, 'k', '9961', 'r', '1433', '6729', 'f', 'W', 'q', '2185', '5915', 'M', 8517, 'Z', 1909, 6827, 'Q', 1213, 'W', 'u']