In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4993, 'r', 3349, 'k', 1261, 'j', 4139, 'P', 4509, 9161, 9587, 'D', 'u', 'D', 'J', 'T', 'w', 4743, 'v', 'r', 'O', 'Z', 't', 'n', 'i', '6083', 'd', '9829', 'Y', '1199', 'V', 'R', '7865', '6069', '6769', 'Y', '3885', '6607', '5175', '3889', 'Z', 'y', 'A', 7147, 9171, 'e', 6591, 9027, 'B', 5445, 6127, 'Q'], ['R', 'q', 'L', 'L', 8099, 'a', 7953, 'i', 'U', 'P', 'O', 'J', 4551, 5251, 'V', 'n', 3387, 'r', 'O', 'Z', 't', 'n', 'i', '6083', 'd', '9829', 'Y', '1199', 'V', 'R', '7865', '6069', '6769', 'Y', '3885', '6607', '5175', '3889', 'Z', 'y', 'j', 'S', 'q', 'n', 863, 419, 9941, 'V', 'b', 'u', 5791]