In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3923, 'U', 'S', 6359, 7383, 'Z', 9759, 6805, 6031, '9415', 'p', 'e', 'D', '8711', 'z', '5401', 'A', 'B', 'L', 'o', 2997, 's', 'Q', 'w', 7561], [7561, 8771, 'T', '9415', 'p', 'e', 'D', '8711', 'z', '5401', 'A', 'B', 'd', 'Y', 'Q', 6021, 8805]