In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['O', 3397, 'a', 'Y', 'B', 'T', 6697, 3905, 4681, 'J', 'm', 'v', '1499', '885', 'A', '4807', '1451', 'o', 'V', '9983', 'v', '6937', 'K', 'd', 'y', '1745', '57', 'i', 'R', '9759', '5269', 'z', '7531', '9179', 'J', 'N', 'u', 5297, 4273, 1213, 1407, 'Z', 8105], ['h', 6505, 'b', 'Q', 9461, 'G', 'S', 'm', 'W', 7481, 'A', 'Z', 'x', 9939, 8561, 'R', 'y', 1149, 8885, 'x', 4575, 597, '1499', '885', 'A', '4807', '1451', 'o', 'V', '9983', 'v', '6937', 'K', 'd', 'y', '1745', '57', 'i', 'R', '9759', '5269', 'z', '7531', '9179', 'J', 'f', 'L', 1223, 8049, 'A', 5509, 'b', 369, 625, 5495, 5025, 8129, 'r', 'B']