In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 1775, 8337, 6787, 'D', 'o', '3177', '6639', '3195', 'u', 8985, 'm'], [9247, 4141, 7199, 3853, 'v', 'D', 'o', '3177', '6639', '3195', 'v', 'E', 4273, 'c']