In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 'P', 'C', 4139, 7779, 'W', 'd', '1425', 'n', 'I', '9971', '9795', 'B', '2083', 'o', 'D', 'i'], ['a', 1825, 'S', 'd', '1425', 'n', 'I', '9971', '9795', 'B', '2083', 'c', 'H', 9407, 'k', 4517]