In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8785, 'E', 'L', '8861', 'N', 'O', '3871', 'X', '1563', 'D', '2213', '6651', 's', 'r', 'H', '6613', '4733', 'a', 'K', 4989, 9659, 3507, 533, 'I', 5423, 'V', 8107, 'z', 'K', 'f'], ['T', 9239, 9007, 5225, 'u', 8425, 9835, 757, 8623, 'e', 6893, 3561, 3735, 173, 'L', '8861', 'N', 'O', '3871', 'X', '1563', 'D', '2213', '6651', 's', 'r', 'H', '6613', '4733', 'o', 3397, 4671, 'g', 'E', 'N']