In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'D', 3569, 1351, 9187, 4955, 'u', 1821, 5269, 'E', '1159', 'M', '29', 'E', 'I', 'B', 'B', '1515', 'W', 'm', '3517', '9013', 't', '9853', 'S', 'h', '4731', 'c', '4395', 'h', 4619, 'W', 9887, 'o', 6501, 4139, 'T', 'd'], [8509, 8635, 'E', '1159', 'M', '29', 'E', 'I', 'B', 'B', '1515', 'W', 'm', '3517', '9013', 't', '9853', 'S', 'h', '4731', 'c', '4395', 'C', 5251, 'r', 'n', 'W', 'I', 5227, 8325, 'v']