In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'm', 8915, 'J', '4681', 't', '1833', 'm', '3843', '991', '3685', '6063', 'l', 'f', 9585, 1135, 'K', 'b', 'x', 'd', 111, 8649, 'X'], [275, 9889, 'K', 1451, 'S', 'A', 'U', 1763, 7979, 1823, 'J', '4681', 't', '1833', 'm', '3843', '991', '3685', '6063', 'l', 'D', 1129, 6017, 721, 9565, 'v']