In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 9543, 5771, 5687, '5957', 'Z', '541', 'u', 'X', 'c', '5225', 'P', 'Q', '4997', '1865', 's', 2467, 8719, 'X', 'b'], [1367, 6367, 'Z', 'm', 5863, 8805, 5877, 'C', 8351, 'C', 'o', '5957', 'Z', '541', 'u', 'X', 'c', '5225', 'P', 'Q', '4997', '1865', 'T', 8025, 167, 'v', 7471, 6891]