In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[431, 'E', 'w', 6105, 1733, 'e', '6369', 'M', 'x', 'u', '5469', '8193', 'U', 'w', 'c', 6751, 'd', 'Y', 9829, 'K', 9475], [7987, 'N', 'o', 'v', 549, 1225, 'f', 'e', '6369', 'M', 'x', 'u', '5469', '8193', 'U', 'w', 439, 'V', 'u', 'E']