In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9879, 8749, 'H', 2265, 'D', 1917, 'p', 8447, 2459, 4111, 'T', 'k', 8167, 5613, 'r', 'D', '6899', 'u', '3279', 'm', '2783', '4509', '2993', '5297', 'C', 'A', '6347', 'X', '7437', '5973', '6331', '3347', 'n', '5967', '9563', 'Z', 'q', 'u', '4217', '4395', '8731', 'R', 5405, 8627, 'S', 5807, 'y', 4293, 'Z', 3533, 8429, 'H', 'Y', 's', 4379, 'z', 'F', 7543, 'i', 7825, 'f', 'C', 'Z', 6205], [5, 7759, 'M', 'H', '6899', 'u', '3279', 'm', '2783', '4509', '2993', '5297', 'C', 'A', '6347', 'X', '7437', '5973', '6331', '3347', 'n', '5967', '9563', 'Z', 'q', 'u', '4217', '4395', '8731', 't', 'n', 'g', 1185, 'L', 5687, 1947, 'V', 3399]