In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 'o', 2169, 'n', 8631, 2853, 8187, 'H', 's', 6417, 'n', '4665', '2865', '5293', '5871', '983', '3309', '1921', 'g', 'Z', 'x', 'x', 'Y', 3745, 1485, 3741], [9743, 'E', '4665', '2865', '5293', '5871', '983', '3309', '1921', 'g', 'Z', 'x', 'x', 'x', 'W', 841, 'o', 'b', 9971, 2807, 'F', 'j', 4783, 'M']