In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['E', 8911, 'x', 's', '5941', '5909', 'Q', 'M', 8439, 7843], [1597, 1061, 'u', 9115, 6805, 'x', 's', '5941', '5909', 'Q', 'v', 'M']