In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[Q]: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
[A]: 5181, q, c, W, r


[Q]: [6157, 337, 8845, 'b', 'a', 'C', 't', 7537, 755, '7179', '1999', '2935', 'x', '4511', '1859', 'Y', 'E', '9719', 'x', 'v', '6477', '1821', 'L', 'w', 'R', '6721', 'D', 'T', '2329', 'N', '8993', 'b', '4199', '1493', 'x', 7067, 441, 4641, 927, 8561, 3119, 'b', 4709, 'S', 975, 'i', 'e', 5163, 4073, 2731, 6333, 9819, 1279, 6035, 'W', 2727, 'V', 'x', 3127], ['G', 4151, 'N', 'M', 7347, 'C', 'S', 'r', 9075, 1287, 'x', 'B', 'n', 5569, 'r', 'a', 'b', 'u', 'M', 1465, 3277, 'D', 3207, '7179', '1999', '2935', 'x', '4511', '1859', 'Y', 'E', '9719', 'x', 'v', '6477', '1821', 'L', 'w', 'R', '6721', 'D', 'T', '2329', 'N', '8993', 'b', '4199', '1493', 'R', 9029, 6923, 'v', 'Q', 2415, 4647, 'm', 6267, 'J', 7565, 4235, 4739, 749, 'f', 'L', 5809, 'f']
[A]: 7179, 1999, 2935, x, 4511, 1859, Y, E, 9719, x, v, 6477, 1821, L, w, R, 6721, D, T, 2329, N, 8993, b, 4199, 1493


[Q]: [3993, 4331, 'l', 5363, 'J', 'N', 4479, 6357, '399', 'S', '9827', '8051', '6247', 'Q', 'n', '971', '183', 'K', '2473', '2279', 'c', 'e', '209', '7603', 'Y', 9593, 7975, 't', 2829, 'f', 'r', 'Z', 7969, 'd', 341], ['k', 8121, 'c', 'V', 'W', 'O', 8103, 'C', 'E', 5721, 1077, 8193, '399', 'S', '9827', '8051', '6247', 'Q', 'n', '971', '183', 'K', '2473', '2279', 'c', 'e', '209', '7603', 's', 2961, 6577, 'r', 815, 651, 'R', 'n', 4857, 1407, 'J', 5669, 'X', 'f', 3111]
[A]:
399, S, 9827, 8051, 6247, Q, n, 971, 183, K, 2473, 2279, c, e, 209, 7603