In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'D', 7985, 'K', 9113, 5151, 'e', '1733', '9179', '9785', 'F', '5345', 'z', 'J', 'J', 'p', '209', 'o', 'W', 'z', 'X', 'j', 'H', 2691, 1013, 3977, 6641, 'z', 6819, 'L', 'q', 9749, 7347, 3009], ['M', 'R', 2965, 'e', 3163, 6605, 8205, 'p', 'n', '1733', '9179', '9785', 'F', '5345', 'z', 'J', 'J', 'p', '209', 'o', 'W', 'z', 'X', 'T', 2251]