In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2857, 'T', 1763, 'n', 2735, 'v', '543', 'C', '973', 'D', 'a', 'q', '7335', 'x', 'q', 'p', '4681', '3363', 'F', '10003', 'D', '1917', 'K', '2707', 'r', 'c', '9473', 'Z', 'q', 'u', 1905, 'd'], ['U', 'D', 7199, 'h', 5159, 6329, 8439, 'N', 'v', '543', 'C', '973', 'D', 'a', 'q', '7335', 'x', 'q', 'p', '4681', '3363', 'F', '10003', 'D', '1917', 'K', '2707', 'r', 'c', '9473', 'L', 'W', 7649, 2059, 6679, 1961, 'T', 'G', 'G', 'f']