In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'q', 7935, 5915, '5205', 'x', 'f', 'd', '1151', '4071', 'R', 't', 8881, 'M'], ['D', 'u', 'z', '5205', 'x', 'f', 'd', '1151', '4071', 'W', 697]