In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2631, 4513, 'D', 2159, 6107, 'E', 1351, 9425, 7617, 9027, 2649, '5145', 'L', '5309', '6667', 'r', '2089', '8037', '6945', 'O', '5877', 'J', '8117', '2833', 'I', 7331, 3615, 'p', 'A'], [2163, 1747, '5145', 'L', '5309', '6667', 'r', '2089', '8037', '6945', 'O', '5877', 'J', '8117', '2833', 'u', 'n', 1757, 'G', 1059, 'G', 'a', 4643, 5701, 'N']