In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3811, 'K', 961, 'S', 3651, 'N', 'n', 8189, 701, 'a', 2087, 'd', 'p', '3819', 'Z', 'I', 'E', '6765', '5997', 'n', 'z', 'o', '3965', '2187', '1795', '9727', '8749', 'x', '8083', '9757', 'n', '9895', '101', 'L', 'r', 8695, 'W', 4501, 3097, 1315, 'Y', 'X', 'X', 4019, 'u', 1705, 5471, 'r', 8333], [3895, 449, 's', 'e', 4013, 1179, 'x', 'j', 6869, 't', 2723, 1973, 5991, 'g', 'D', 4571, 'p', 'd', 'p', '3819', 'Z', 'I', 'E', '6765', '5997', 'n', 'z', 'o', '3965', '2187', '1795', '9727', '8749', 'x', '8083', '9757', 'n', '9895', '101', 'W', 8331, 'E', 6391, 'y', 4921, 7713, 8155, 4475, 4055, 4379, 'p', 8797, 'D', 'Y', 'c', 541, 7357, 3365, 'y', 6199]