In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 'T', '495', 'H', '9945', 'c', '8171', 'j', 541, 'V', 'e', 3243], [4293, 9967, 'Z', 665, 'J', '495', 'H', '9945', 'c', '8171', 'M', 325, 723]