In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3705, 8795, 'K', 8565, 4491, 'S', 9141, 'L', 'E', '7717', '1835', '9961', 'e', '5275', '8833', 'z', 'o', 'K', 8935, 'R', 1481, 'J', 'k'], [9857, 'N', 'G', 'q', 'x', 231, 1337, 2767, 5181, 'E', '7717', '1835', '9961', 'e', '5275', '8833', 'z', 'o', 'a', 'y', 6593, 8107, 'C', 'g', 'l']