In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3661, 'e', 9845, 9489, 8527, 'E', 'p', 'p', 4767, 'K', 'T', 'R', 3317, 'A', 'M', 'o', 3825, 5215, 1605, 119, 'c', '7393', '7143', 'c', 'b', '7341', 'g', '2199', 'a', '5105', 'U', '4449', '8079', 'N', '9961', '1311', 'O', '7167', '9499', 'f', 'P', 'Y', '8823', 'z', 'y', '5195', 'k', 'U', 'j', 'V', 4751, 'M', 9457, 'P', 'S', 5709, 's', 'V', 2795, 'T', 's', 'e', 7597, 8083, 343], ['z', 4575, '7393', '7143', 'c', 'b', '7341', 'g', '2199', 'a', '5105', 'U', '4449', '8079', 'N', '9961', '1311', 'O', '7167', '9499', 'f', 'P', 'Y', '8823', 'z', 'y', '5195', 'k', 'U', 'a', 'Y', 'Y', 3087, 1039, 9393, 5143, 'S', 7391, 2349, 'W', 5083, 4407, 1469, 'c', 7807, 2503, 'Y', 'N', 'f', 6741]