In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 'h', 'h', 8133, 5781, '5645', '9769', 'y', 'I', '9411', '6299', 'Q', 'L', 8727, 9723, 4623], ['h', 'I', 10007, 8647, '5645', '9769', 'y', 'I', '9411', '6299', 'Q', 'k', 6963]