In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 411, 'Z', 'C', 'w', 'Z', '251', 'c', '9989', 'w', 'x', '6847', '5065', 'k', 'i', 'x', 'a', 'I', 'L'], ['N', 'v', 'B', 'w', 'Z', '251', 'c', '9989', 'w', 'x', '6847', '5065', 'k', 'i', 'x', 'a', 'f', 'O', 9363, 3641, 'K', 809, 815, 2433, 8961, 3419]