In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[629, 8865, 2891, 'K', 8229, 3519, 315, 8945, 5683, 5497, 7801, 'N', '4053', '6603', 'j', 'M', 't', 'M', 'J', 'X', '3745', '8709', '3597', 'A', 'S', 'b', 'B', '3829', 'S', '6257', '4055', 'M', 'S', '283', 'w', 'S', '7893', 'I', '3165', 'v', 'H', 'c', 9315, 'e', 'Q', 'b', 5751, 'q', 2775, 'h', 'h', 4469, 'H'], [3359, 'm', 2563, 325, 6417, 'e', 5429, 7007, 9645, 'p', 4749, 5665, 'S', '4053', '6603', 'j', 'M', 't', 'M', 'J', 'X', '3745', '8709', '3597', 'A', 'S', 'b', 'B', '3829', 'S', '6257', '4055', 'M', 'S', '283', 'w', 'S', '7893', 'I', '3165', 'A', 'Y']