In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 'g', 'H', 'k', '3815', 'W', 'j', 'O', 6223], [2661, 7597, 'b', 6057, 7209, 'H', 'k', '3815', 'W', 'j', 'j', 4931]