In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1585, 'T', 9307, 'Q', 't', 'r', 'f', 'x', 'D', '9769', 'H', '5085', 'u', 'a', 6673], ['e', 4615, 'Q', 293, 'k', 5097, 7415, 'f', 'x', 'D', '9769', 'H', '5085', 'u', 'K', 2299, 'N']