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: ['x', 9249, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'J', 10001, 'A', 225, 1607, 'a', 'h', 6377], [375, 'D', 4093, 'g', 735, 955, 'c', 9937, 2987, 7035, 'X', 7703, 9937, 'Y', 3849, 2197, 4731, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'Y', 'K', 's', 1667, 9723, 3697, 1759, 3243, 'r', 'v', 'Z']

Answer: X, o, 7637, q, S, 733, 1483, T, 7653, F, 7879, k, 1881, Q, J, 4517, n, q, 1919, 381, 4725


Question: ['d', 5171, '6887', '6153', 'd', 'W', 'M', 'P', '6027', '2745', 'Z', 'Z', 'R', 1847, 9535, 4579], [1297, 'e', 'M', 'B', 'h', '6887', '6153', 'd', 'W', 'M', 'P', '6027', '2745', 'Z', 'S', 'V', 5451]

Answer:
6887, 6153, d, W, M, P, 6027, 2745, Z