In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 6649, 1227, 'P', 'h', 'X', 'T', 9205, 9037, 'm', 'c', 'w', 1405, 4753, 'v', 5789, '1729', 'h', '1957', 'k', 'I', '2143', 'O', '7191', '5797', '7289', '3895', 'p', '4715', 'X', '3813', '9643', 'T', '7843', '5685', 'R', 'm', 697, 'R', 9393, 9263, 4429, 4345, 677, 'L', 8981, 'y', 'Z', 'm'], ['n', 'q', 'r', 'D', 'S', 'W', 'u', 'O', 'T', 9123, 4549, 'd', 2571, 4725, 'd', '1729', 'h', '1957', 'k', 'I', '2143', 'O', '7191', '5797', '7289', '3895', 'p', '4715', 'X', '3813', '9643', 'T', '7843', '5685', 'E', 'N', 8083, 2547, 'L', 7839, 'S', 1737, 'r', 8827, 'b', 3267, 4009, 2719]