In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 'w', 3575, 't', 'w', 'x', '1645', 'H', 'J', 6731], ['O', 825, 'C', 'w', 'x', '1645', 'H', 'd', 'v', 'J']