In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3847, 'u', 'S', 'm', 3423, 5397, 5593, 4427, 'x', 7979, 'J', 'X', 'D', '4973', '7485', 'F', '5565', 'Q', 'W', '6223', '9099', 'S', '9589', 'J', 'Q', 'Q', 'O', 'y', '3871', 's', 'I', 'x', 'J', 'o', 'M', 'b', 3005, 'C', 9815, 4341, 'q', 'm', 'm', 7421, 'f', 7225, 'r'], [7329, 'w', 4867, 6713, 'Y', 3113, 6613, 'w', 681, 't', 'n', 'W', 5715, 'y', 6665, 'G', 'L', 'R', 'A', 'D', '4973', '7485', 'F', '5565', 'Q', 'W', '6223', '9099', 'S', '9589', 'J', 'Q', 'Q', 'O', 'y', '3871', 's', 'I', 'x', 'J', 'P', 6757, 'B', 4615, 'H', 'A', 'V', 7551, 10019, 'd', 9975, 7383, 6945, 6891, 'H', 3485, 887, 1987, 'y']