In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'M', 'M', '375', 'u', 'f', 'H', 'W', 8533], ['z', 2399, 3191, 1549, '375', 'u', 'f', 'H', 'G', 4181]