In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6431, 6183, 'v', 7129, 4239, 8685, 2297, 'J', 'g', '1905', '1433', '3541', 'h', 'q', '1989', 'c', '6005', '39', 'L', 'd', '49', 'C', '1021', '499', '7915', 'X', 'd', 'g', 'I', 9765, 281, 'N', 'q', 6147, 'o', 'K', 'R', 'n', 4715, 'V', 1811, 3125, 'u', 4601, 3063, 6609], [6135, 'p', 9689, 8029, 'B', 'J', 'g', '1905', '1433', '3541', 'h', 'q', '1989', 'c', '6005', '39', 'L', 'd', '49', 'C', '1021', '499', '7915', 'X', 'd', 'N', 7507, 'H', 'e', 1637, 1763]