In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 475, 6537, 'Z', '9531', '3957', 'b', 'k', 'D', 'a', 5213], ['R', 2807, 'O', 'Z', '9531', '3957', 'b', 'v', 'I', 'y', 'Z']