In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9785, 'g', 'l', 8561, 'H', 2671, 'w', 9889, 'V', 3229, 4319, 6681, 1761, 3513, 'W', 1279, 'Z', '4121', 'z', '5157', 'p', 'T', '8601', '1581', 'c', '4235', 'F', '4057', 's', 'v', '6115', 'k', '8527', '1357', '8259', 'b', '1397', 'X', '2101', 'L', '6467', '4077', 'j', 'R', 'D', '9147', '763', 'U', 469, 3771, 8521, 299, 613, 's', 'l', 'r', 9727, 'x', 'i', 8455, 2435, 'n', 'X', 5183, 'm', 1525, 'P', 'Y', 4633, 2527, 'O', 'O', 'o', 'q'], ['f', 'x', 'W', 1277, 7087, 'C', 'a', 'q', 3529, 775, '4121', 'z', '5157', 'p', 'T', '8601', '1581', 'c', '4235', 'F', '4057', 's', 'v', '6115', 'k', '8527', '1357', '8259', 'b', '1397', 'X', '2101', 'L', '6467', '4077', 'j', 'R', 'D', '9147', '763', 'q', 'M', 'e', 'm', 2059, 2255, 9797, 'p', 8773, 9721, 2151, 9813, 'n']