In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 3041, 'M', 4997, 'T', 7489, 1977, '4417', 'j', '1739', '8883', 'm', '5869', '7809', 'I', 'j', '8135', 'J', 'd', '9853', 'h', 'L', '1309', 'a', '1607', '7955', 'N', 4489], ['M', 2421, 'L', 315, 'L', 2341, 'x', 'S', 'C', 841, 'G', 7785, 4745, 't', '4417', 'j', '1739', '8883', 'm', '5869', '7809', 'I', 'j', '8135', 'J', 'd', '9853', 'h', 'L', '1309', 'a', '1607', '7955', 'V', 'r', 'P', 'd', 9947, 6449, 'S']