In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9767, 6113, 5127, 6467, 'r', 'D', 'g', 10009, 'p', 'T', 9481, 5201, 1883, 1307, 'k', '6085', 'U', 'E', '7321', 'd', 'J', '5683', '5771', 'u', '4239', 'T', 'M', '1067', 'o', 'q', 'g', 6321, 3551, 8579, 2889, 'O', 'Q', 'b', 8575], [4079, 6561, 'k', '6085', 'U', 'E', '7321', 'd', 'J', '5683', '5771', 'u', '4239', 'T', 'M', '1067', 'o', 'd', 'E', 'l', 'W', 'r', 5173, 'Z', 7419, 8035]