In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 3219, '9581', '9985', 'q', '5835', 't', 'd', 'Y', '1503', 'b', 'K', '8623', 'G', 'B', '9367', '2659', 'c', '2351', '287', '1185', 'B', 'k', '8719', 'E', 'T', '5955', 'b', 'O', 'N', 'n', 'r', 7123, 9749, 'O', 'H', 6937, 8587, 'c', 7041, 'Q', 5337, 'N', 791, 9303, 'x', 9849, 'j', 1685, 5211], ['X', 8245, 'F', 7215, 2489, 'L', 1747, 'B', 'R', 663, 6573, 'w', 4705, 3645, 5697, 'O', 5469, '9581', '9985', 'q', '5835', 't', 'd', 'Y', '1503', 'b', 'K', '8623', 'G', 'B', '9367', '2659', 'c', '2351', '287', '1185', 'B', 'k', '8719', 'E', 'T', '5955', 'b', 'G', 'l', 'Z', 9465, 's', 4867]