In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 5641, 'm', 319, 'd', 'W', 'T', '3603', '947', '9179', 'U', 'f', '373', 'h', 'R', 5909, 947, 'D', 8525], [2719, 'W', 4505, 'p', 's', 'T', '3603', '947', '9179', 'U', 'f', '373', 'J', 7229, 4817, 9801, 1161, 'q']