In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 9699, 'K', 'v', 'V', 'k', 'J', '8641', 'x', 'b', '6729', '7571', '5943', 'H', 'R', '1661', 'Z', 'Q', 6779], [7235, 'w', 9131, '8641', 'x', 'b', '6729', '7571', '5943', 'H', 'R', '1661', 'b', 'P', 'd', 9463, 2589, 4975, 2435, 'I']