In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: [1307, 'u', 'Z', 3323, 191, 'i', 'h', 't', 'L', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'C', 'M', 'y', 'h', 7985, 9989, 'j'], [2817, 1955, 2973, 'Y', 9221, 'z', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'G', 'M', 2083, 'O']

Answer: 8549, 7861, 9747, 3985, g, r, 1247, R, S, a, a, 749


Question: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]

Answer: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n


Question: [9509, 3631, 9165, 3049, 'k', 'w', 'K', 't', 'v', '29', '8035', 'v', 'N', '4965', 'e', '8733', 'l', 'T', 763, 8701, 'u', 7463], [3859, 'k', 1959, 'n', 2823, 7065, 1055, 'F', 5173, 'n', 'b', 'o', 'k', 'w', 'K', 't', 'v', '29', '8035', 'v', 'N', '4965', 'e', '8733', 'l', 'c', 'f', 'R', 'X', 'K', 'k']

Answer:
k, w, K, t, v, 29, 8035, v, N, 4965, e, 8733, l