In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[395, 'a', 9695, 7165, 7727, 9215, 'L', 'l', '7759', 'W', '2565', '2539', '849', 'A', '1345', '2213', '351', 'H', '9847', 'q', 'R', 'Z', 4435, 'M', 'p', 'o', 's', 4725, 2547], [6907, 1165, 'C', 'l', 'A', 8455, 'o', 'v', 1771, 'L', 'l', '7759', 'W', '2565', '2539', '849', 'A', '1345', '2213', '351', 'H', '9847', 'K', 'v', 4717]