In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7625, 'z', 'D', 'x', 5523, 'r', '1773', '5309', 'E', 'H', '2847', 'Z', '4675', 'Z', 'V', '1055', 'p', '4207', '8487', 'G', 7397, 'X', 7195, 'o'], [3263, 5239, 'r', '1773', '5309', 'E', 'H', '2847', 'Z', '4675', 'Z', 'V', '1055', 'p', '4207', '8487', 'w', 'Q', 7575, 1011, 5673, 887, 1611, 373]