In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 'U', 9487, 'Z', 3029, 8865, 6545, 9623, 'I', 'B', 8159, 9047, 9813, '5735', 'F', '6937', '367', '8059', 'w', '8151', 'Q', 'L', '285', '645', '8329', '2151', 'F', '2787', '2611', '1919', '5385', '7745', '5127', '8417', '6797', '3103', '4713', 'Y', 'y', '953', '5995', '3905', '4277', 'p', 3157, 8693, 'n', 9565, 'L', 'e', 2479, 9489, 'W', 585, 5201, 1459, 'C', 'M', 5145, 6215, 6585, 'l', 893, 't', 's', 'B', 2057, 255, 4387, 887], [691, 165, 2881, 8187, 'h', 'M', 's', '5735', 'F', '6937', '367', '8059', 'w', '8151', 'Q', 'L', '285', '645', '8329', '2151', 'F', '2787', '2611', '1919', '5385', '7745', '5127', '8417', '6797', '3103', '4713', 'Y', 'y', '953', '5995', '3905', '4277', 'U', 1951, 8989, 3331, 'd', 1313, 'g', 9859, 'v']