In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3117, 'l', 'd', 'C', 'k', 9319, 'd', 'p', 'I', '9427', '9173', '451', '7767', 'o', 'X', '4309', '9527', 'X', 'A', '10025', 'D', 'u', 'R', '985', '8901', '5743', '5665', 'Y', '3113', 'a', 'S', '9985', '3577', 'C', '1503', '9917', '1987', 'C', 'A', 'M', 'i', 4245, 9409, 'N', 9323, 'm', 'j', 3183, 4185, 'K', 'Y', 'l', 5365, 's', 5155, 6659, 'v', 'E', 'Q', 8143, 'w', 1389, 279], [7829, 'R', 'p', 6207, 's', 'c', 5647, 4931, 'h', 't', 4097, 1677, 'c', 7279, 7445, '9427', '9173', '451', '7767', 'o', 'X', '4309', '9527', 'X', 'A', '10025', 'D', 'u', 'R', '985', '8901', '5743', '5665', 'Y', '3113', 'a', 'S', '9985', '3577', 'C', '1503', '9917', '1987', 'A', 'z', 5725, 'c']