In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: ['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]

Answer: 5747, i, M


Question: [6987, 'F', 'j', 'E', 'P', 947, 823, 'P', 4655, 'C', 'l', 'R', 'z', 5705, 'I', 'H', 'y', 2167, 7443, 'E', 'F', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'D', 'y', 665, 'P', 'k'], [4453, 'F', 'b', 1309, 'm', 'H', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'p', 'f', 7091]

Answer: d, 567, 1385, d, 1013, Q, 3983, 5891, 6397, 1701, d, v, N, 4551, 9415, 5691, n, 3435, 1485, u, Q, 3191


Question: [6257, 'U', 'J', 5587, 3013, 'u', 'F', 'c', 'Z', '6845', 'H', 't', 'g', 'C', 'd', '3419', 'z', 'W', 9829, 'y', 4621], [7105, 293, 'c', 'Z', '6845', 'H', 't', 'g', 'C', 'd', '3419', 'I', 7809, 3947, 'Z', 'K', 't', 'o', 5653, 'c']

Answer:
c, Z, 6845, H, t, g, C, d, 3419