In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8813, 7015, 9101, 'U', 5119, '649', 'l', '2189', '1923', '7915', 'a', '2603', '6057', 'U', '863', 'V', 'p', '1691', 'R', 'M', '4501', '8843', '4689', 'l', '4319', 'l', 'c', 'o', 10031, 5939, 829, 'I', 9477, 'g', 'L', 5777, 6529, 4743, 't', 9983, 9247], [2531, 1987, 4617, 'V', 'y', 6297, 9679, 4851, 2925, 'p', 7473, 'z', 9549, 'S', 'O', 'C', 'W', 'f', 3305, '649', 'l', '2189', '1923', '7915', 'a', '2603', '6057', 'U', '863', 'V', 'p', '1691', 'R', 'M', '4501', '8843', '4689', 'l', '4319', 'l', 'c', 'c', 7683, 3761, 7017, 'U', 8217, 9817, 'K', 7593]