In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5021, 8787, 't', 4471, 9705, 7835, 'K', 7729, 'K', 'd', 4125, 6839, 'G', 'V', 'E', 'p', 'X', '6019', 'N', 'P', 'V', '9775', 'O', '2281', 'u', 'H', 'B', 'D', 'S', 'B', '5931', '6959', '2009', 'g', '2373', '7913', 'g', '7637', '2853', '3369', 'L', 145, 7163, 'G', 9087, 'v'], [1697, 'G', 6673, 5027, 849, 5661, 1259, 'G', 'V', 'E', 'p', 'X', '6019', 'N', 'P', 'V', '9775', 'O', '2281', 'u', 'H', 'B', 'D', 'S', 'B', '5931', '6959', '2009', 'g', '2373', '7913', 'g', '7637', '2853', '3369', 'n', 'X', 3295, 2425, 9201, 'i', 'D']