instruction:
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
question:
[987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']
answer:
h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q


question:
[5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]
answer:
a, 3619, 5119, 4219, 769, 8735, 6417, V, W


question:
[6815, 5159, 2851, 'C', 7811, 'v', 'm', 'T', '5897', 'm', '543', 'k', '3025', 'X', 'L', 'c', '4657', 'A', 'f', 4513, 'Q', 'M', 1297, 'y'], [2035, 'W', 1797, 6337, 'T', 'p', 'J', 'K', 4331, '5897', 'm', '543', 'k', '3025', 'X', 'L', 'c', '4657', 'A', 'j', 'y', 'c', 6039, 'g']
answer:

5897, m, 543, k, 3025, X, L, c, 4657, A