In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 1139, 'p', '5169', '127', '4281', '8167', 'r', 'y', 'D', 'J'], [5493, 'y', '5169', '127', '4281', '8167', 'o', 'F', 'x', 'j']