In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 3779, 'm', 'g', 'w', 4741, 'X', 'g', 1299, 5561, 'a', 'Y', 'S', 'B', 'p', '5369', 'y', '271', '1487', '2883', 'f', '1147', '6609', '6599', 'g', 'T', 'f', '2667', '2179', 'i', 'L', 'l', 'o', 'l', 5091, 'u', 'G', 'K', 7967, 'h', 'h', 7915, 'R', 'C', 'O', 'k', 7303, 3855, 'I', 5229, 8141], [10007, 1093, 'C', 'U', 6209, 6549, 'B', 'p', '5369', 'y', '271', '1487', '2883', 'f', '1147', '6609', '6599', 'g', 'T', 'f', '2667', '2179', 'i', 'L', 'l', 'o', 'd', 'T', 'n', 757, 'r', 1367, 'X', 1757, 9899]