In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['b', 9311, 'E', '7199', 'f', 'H', '7177', 's', 'k', 'x', 6161, 'k', 4499, 5771, 4931], [4059, 'B', 'N', '7199', 'f', 'H', '7177', 's', 'k', 'z', 'c', 'y', 'J', 'g', 'a']