In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1571, 997, 'q', 'o', 2381, 'c', 8037, 'k', 1729, 'T', 9455, 'd', 7719, 'J', '599', '3101', '7519', '6249', 'q', 'V', 'K', 'c', 'F', '1725', '8425', 'D', '9623', 'c', '7235', 'I', 'c', 'B', '675', 'I', 'j', 'L', 3185, 'Q', 'l', 'l', 'd', 'o', 'V', 'e', 'e', 'q', 3167, 'b', 'C', 'm', 'o', 5949], [8171, 'q', 'a', 'Z', 2319, 'X', 1885, 'u', 8457, 'j', 6229, 'w', 7301, 905, 'e', 'R', 'X', 7589, 'J', '599', '3101', '7519', '6249', 'q', 'V', 'K', 'c', 'F', '1725', '8425', 'D', '9623', 'c', '7235', 'I', 'c', 'B', '675', 'I', 'q', 'U', 'c', 'L', 'Y', 585, 1409, 's', 'd', 6831, 'g', 9633, 'B', 'p']