In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8435, 589, 1031, 'Z', 'Y', 'j', 'Q', 8613, 'Y', 'z', 'q', 'T', 'O', 'm', '8921', 'F', '6923', '2463', '6947', 'x', 'q', 'E', 8713, 'v', 7069], ['s', 'u', 6611, 4715, 3139, 'S', 'z', 'q', 'T', 'O', 'm', '8921', 'F', '6923', '2463', '6947', 'p', 9007, 23]