In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8339, 'B', 'h', 'v', 'W', 'Y', 5617, 2005, 'd', 'E', 1721, 'q', '9663', '8741', 'n', 'a', '6049', 'e', '3909', 'x', 't', '3417', 'A', '8351', '6245', 'k', 6621, 'k'], ['D', 8267, 347, 739, 4959, 'd', '9663', '8741', 'n', 'a', '6049', 'e', '3909', 'x', 't', '3417', 'A', '8351', '6245', 'i', 2747]