In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 8999, 'W', 'h', 3155, 1477, 'S', 'h', 'O', 3767, 'm', 'V', '1683', '3291', 'v', '1729', '1525', '2583', '4925', 'J', '6677', 'Q', '569', 'e', 'N', 'm', '953', '5657', '799', '5713', 'Y', 7661, 2571, 'l', 1417, 8465, 2495, 'A', 8501, 8829, 'j', 'S'], ['d', 'k', 'l', 9587, 'V', 6199, 'q', 'o', 'g', 1397, 'F', 2089, 1525, 3917, 's', 'B', 'L', 2397, 5323, 'm', 'V', '1683', '3291', 'v', '1729', '1525', '2583', '4925', 'J', '6677', 'Q', '569', 'e', 'N', 'm', '953', '5657', '799', '5713', 'H', 8469, 7929, 'b', 4331, 'z']