In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9865, 'f', '411', '6019', 'A', '6667', '4505', '593', 'T', 'x', 't', 'U', 'E', '2073', 'r', 'Z', 'k', 'f', 'Z', 'E', 9051], ['j', 'v', 'c', 'd', 'E', 3825, 5111, 'S', 'f', 1603, '411', '6019', 'A', '6667', '4505', '593', 'T', 'x', 't', 'U', 'E', '2073', 'T', 1327, 5769]