In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 6269, 9591, 'A', 4397, 497, 'S', 'M', 685, 5993, 4125, 7247, 'N', 181, '3249', 'K', 'r', '4557', '9811', 'K', '5223', '4907', 'o', '855', '1337', 'Q', '6297', '4973', 'Y', 'T', '5761', 'F', 'j', '3423', '6289', 'P', 'L', '641', 'B', 'C', '3707', 'f', '627', 'P', 'E', 4381, 2779, 9885, 749, 'i', 4715, 'y', 'h', 'W', 'g', 's', 8943, 'J', 2453, 'R', 4195, 9095, 'B', 7799, 3105, 'I', 283], [7465, 1533, 'X', 'b', 't', 'u', 'W', 'b', 'H', 1917, 'g', 8147, 'N', 6871, '3249', 'K', 'r', '4557', '9811', 'K', '5223', '4907', 'o', '855', '1337', 'Q', '6297', '4973', 'Y', 'T', '5761', 'F', 'j', '3423', '6289', 'P', 'L', '641', 'B', 'C', '3707', 'f', '627', 'g', 'o', 'H', 'D', 'v', 'U', 3907, 'C', 1249, 'k', 5051, 225, 7585, 'Y', 5545, 'B', 'T', 4193, 'c']