In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 'c', 3653, 'a', 'S', 9853, 'Z', 'h', '5875', 'n', '9705', 'K', 'c', 7863, 5273, 'S', 8635], ['a', 8859, 'K', 8853, 'Z', 'h', '5875', 'n', '9705', 'K', 'Z', 'm']