In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8677, 'c', 8137, 2757, 'v', '3405', 's', '3119', '8613', '2313', 'C', 'y', 'E', 'C', 'w', 'H', 'p', 'u', '2253', '4383', '2549', 'i', 'o', '513', 'k', '611', '4441', 'z', 'N', 'U', 'Q', 8159], ['p', 'Z', 'r', 3723, 'b', '3405', 's', '3119', '8613', '2313', 'C', 'y', 'E', 'C', 'w', 'H', 'p', 'u', '2253', '4383', '2549', 'i', 'o', '513', 'k', '611', '4441', 'z', 'N', 'U', 'O', 1181, 5145, 'M', 'W', 'h', 795, 'I', 'c', 'v']