In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 9043, '8429', 'f', 's', 'S', 'W', 'S', 'o', 'q'], ['N', 3137, 2105, 5251, '8429', 'f', 's', 'S', 'W', 'P', 'O', 3881, 'U', 'K']