In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5315, 'I', 7615, 5239, 'w', 9151, 'Q', 'o', 8751, 4113, 'R', 3421, 'H', '3087', '8909', '1179', '6419', '2941', 'x', '7439', '7911', 'c', 'Q', '3043', '6193', 'n', 'A', 'R', 4953], ['E', 4197, 5957, 5833, 7639, 657, '3087', '8909', '1179', '6419', '2941', 'x', '7439', '7911', 'c', 'Q', '3043', '6193', 'n', 'z', 4767, 'q', 5171, 'V', 6115, 4681, 6049]