In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 's', 'H', 'c', 4091, 383, 8675, 'i', 'V', 77, 'n', 'd', 5223, 35, 'Q', 4411, 'x', '1929', 'R', '4935', '9721', '2861', '9269', 'r', 'Z', 'R', 'A', 'g', '4671', 'V', '10003', 'o', 'R', '1065', 'd', '9417', 'M', 'X', 7383, 9149, 5999, 7317, 'M', 'v', 'x', 10017, 2065, 23, 4235, 'L', 8787, 1715, 8473], [6301, 4761, 7661, 'k', 'x', '1929', 'R', '4935', '9721', '2861', '9269', 'r', 'Z', 'R', 'A', 'g', '4671', 'V', '10003', 'o', 'R', '1065', 'd', '9417', 'S', 'q', 'm', 'r']