In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6835, 6869, 961, 9617, 'Y', 'p', 'L', 6831, 'd', 'R', 'i', 5179, 4359, 'S', 'n', 7439, '4483', '2973', '7047', '7587', '5989', '5253', '4275', '2629', 'u', 'j', 'r', '2829', '7425', '2819', 'Y', '8107', 'V', 'v', '2963', 'C', '9359', 'c', 'r', 'T', 317, 'N', 'D', 4251, 'u', 'A', 'i', 1907, 'T', 2933, 'y', 'N', 'r', 9871, 8603, 'A', 'T', 43], ['s', 1955, 1499, '4483', '2973', '7047', '7587', '5989', '5253', '4275', '2629', 'u', 'j', 'r', '2829', '7425', '2819', 'Y', '8107', 'V', 'v', '2963', 'C', '9359', 'c', 'r', 's', 3981, 9629, 'Z', 1751, 'H', 'q', 621, 'r', 'm', 'c', 'n', 'c', 3897, 8031]