In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 4989, 'd', 1247, 3221, 'w', 5907, 2381, 'y', 'Z', '8451', '8617', '6579', '3047', '7091', '1365', 'w', '1897', 'c', 'f', '5675', '5469', '2469', '7613', 'B', 'D', 'Q', 'V', 4223, 2857, 'C', 'S'], [7123, 'T', 'W', 'Z', '8451', '8617', '6579', '3047', '7091', '1365', 'w', '1897', 'c', 'f', '5675', '5469', '2469', '7613', 'B', 'f', 'e', 3219, 9805, 'x', 'b', 9523, 2925, 6967, 'Y', 'b', 4733, 9657, 'Q', 1477]