In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[397, 7615, 8163, 'Z', 'P', 'T', '7813', '2461', 'g', '6713', '6229', 'g', 'q', 'a', 'O', '5177', '3255', 'x', '8889', '889', '7991', '4709', '3359', 'C', 'b', 1103, 'l', 'P', 1133, 'W', 'J', 9285, 'C', 1219, 'i', 3245, 9955, 1755, 'L', 'S'], [173, 4549, '7813', '2461', 'g', '6713', '6229', 'g', 'q', 'a', 'O', '5177', '3255', 'x', '8889', '889', '7991', '4709', '3359', 'C', 's', 'o', 'R', 5233, 'L', 5515, 'V', 4595, 'F', 'g', 'K', 'n', 595, 'R', 'E']