In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'Y', 9405, 'V', '9989', '437', '5075', 'w', 'd', 'w', 1321, 'k'], [1865, 1789, 'E', 'V', '9989', '437', '5075', 'w', 'z', 'i', 6899]