In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1609, 7947, 'b', 'm', 'L', 'C', 4295, 3279, 5925, 8447, 3427, 'a', 'p', '9007', 'w', '7613', '9697', '9277', 'T', 'v', '2489', 'W', '1275', 'M', 'g', '2847', 'Z', 'f', '3575', 'J', '3395', 'i', '1173', '3895', 'K', '9055', 'q', 'O', 'o', 'o', 5851, 6817, 2107, 1839, 'v', 1341, 6517, 'r', 'r', 'T', 'x', 's', 7243, 'Q', 8865, 'G', 'Z', 'h', 'T', 1021, 517], [3353, 8673, 6563, 'b', 'w', 2709, 'X', 'J', 'Z', 4739, 'a', 'p', '9007', 'w', '7613', '9697', '9277', 'T', 'v', '2489', 'W', '1275', 'M', 'g', '2847', 'Z', 'f', '3575', 'J', '3395', 'i', '1173', '3895', 'K', '9055', 'q', 'f', 'a', 'f', 9515, 'd', 'A', 'p', 'd']