In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6109, 'L', 2271, 3493, 'm', '4049', 'L', '6903', '43', 'k', '7951', 'G', '9187', 'F', 'G', 'B', 'X', '2205', '9003', 'm', 't', '1767', 'f', '3555', '7893', 'q', 'u', 3329, 1223, 3975, 'J', 7333, 4079, 8463, 7139, 'x', 'Z', 5037, 'V', 'V'], ['Z', 'J', 'x', 'X', 7287, 'd', 'm', '4049', 'L', '6903', '43', 'k', '7951', 'G', '9187', 'F', 'G', 'B', 'X', '2205', '9003', 'm', 't', '1767', 'f', '3555', '7893', 'X', 's', 'w', 4983, 8949, 'a', 'v']