In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8161, 5059, 'l', 2867, 2833, 'e', 'h', 2585, 'N', 1193, 'F', 9299, 'f', 'v', 9759, 2857, '9495', 'Y', '9223', 'R', '6283', 'W', 'k', 'd', '5005', '7497', '9651', 'T', '3599', 'S', '6923', '9687', '9049', 'j', '9015', '6321', 'G', '4209', '1473', 'n', '5309', 'U', 'J', 9897, 'j', 10011, 4821, 9237, 'F', 1279, 6387, 7419, 'S', 'o', 'S'], ['k', 7903, 'B', 3045, 'o', 3139, 409, 'c', 'd', 315, 9357, '9495', 'Y', '9223', 'R', '6283', 'W', 'k', 'd', '5005', '7497', '9651', 'T', '3599', 'S', '6923', '9687', '9049', 'j', '9015', '6321', 'G', '4209', '1473', 'n', '5309', 'l', 9975, 'q', 'A', 2233, 'Y', 'q', 2503, 2005, 4871, 2631, 'c', 'b']