instruction:
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:
['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
answer:
A, g, 6735, 6737, 6929, 3051, v, 1223, 497


question:
['c', 851, 7177, 'm', 'u', 7661, 'd', 'n', 'P', 'e', 1121, 'x', 'j', 'I', 'd', 9403, 2735, 7457, 6963, 's', 3753, 'm', 2343, 'm', 'N', '9583', 'J', '2927', '7161', '4411', 'Y', 'P', '755', 'b', '1441', 'H', '7977', '45', 'L', '5987', 'M', 'R', 'W', '2731', 'Y', 'b', 's', 'T', 'g', '2977', 'q', 'r', 'o', 'K', 8593, 'N', 6955, 'g', 'R', 't'], [713, 5521, 'C', 9065, 4143, 1201, 's', 'J', 'x', 'U', 841, 'Z', 'D', 'm', 'N', '9583', 'J', '2927', '7161', '4411', 'Y', 'P', '755', 'b', '1441', 'H', '7977', '45', 'L', '5987', 'M', 'R', 'W', '2731', 'Y', 'b', 's', 'T', 'g', '2977', 'r', 1401, 'd', 'G', 'p']
answer:

m, N, 9583, J, 2927, 7161, 4411, Y, P, 755, b, 1441, H, 7977, 45, L, 5987, M, R, W, 2731, Y, b, s, T, g, 2977