In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9219, 'k', 4531, 5247, 435, 'v', 'b', 2985, 'N', 'Z', 'd', 'n', 3079, 'k', 'F', 'O', '2635', '6173', '1007', 'q', 'V', '3871', '3069', '2465', '7973', 'G', 'd', '915', 'q', 'Y', '5021', 'I', 'F', 'g', 6039, 1545, 5431], ['M', 'q', 9453, 293, 397, 7371, 6957, 'P', 5133, 'y', 6637, 397, '2635', '6173', '1007', 'q', 'V', '3871', '3069', '2465', '7973', 'G', 'd', '915', 'q', 'Y', '5021', 'I', 'F', 'Z', 'v', 't', 'Z', 'D', 4265, 3349, 8707, 6255, 'S', 'F', 'V', 5365, 8369, 'A', 'Q']