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]: ['s', 1853, 'h', 'T', 'f', 'N', 'c', 643, 8659, 'E', 'v', 'A', 't', 779, 'S', 'p', 'A', '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'X', 1613, 't', 'Q', 747, 'F', 9819, 7747, 7059, 509, 1169, 'z', 9807, 4297, 7399, 7009, 'z', 'L', 3495, 'c', 'l', 'd', 'A'], ['C', 4481, 'H', 3327, 7321, '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'F', 'o', 'O', 2361, 9341]
[A]: 9745, 2013, o, 9115, Y, f, l, 9683, 4447, G, W, 3807, 6689, 3789, 9207, 4683, s, 6555, 7405, F, 7739, 3145, 8895, 2515


[Q]: ['q', 'm', 2683, 'k', 'H', 'X', 8479, 3669, 'z', 'A', 'Q', '4235', '2469', '781', '4855', '8947', 'm', '4389', 'h', '2401', 'Y', 'H', '7693', 'C', 'C', 'p', 'H', 6513, 6815, 'c', 'K', 6739, 3283, 'b', 4699], ['U', 'C', 8935, 'E', 'n', 's', 2587, 'O', 'Q', '4235', '2469', '781', '4855', '8947', 'm', '4389', 'h', '2401', 'Y', 'H', '7693', 'C', 'C', 'u', 'y', 7385, 'v', 'G', 2415, 'k', 5639, 2679, 5141, 9427, 'D', 'x']
[A]:
Q, 4235, 2469, 781, 4855, 8947, m, 4389, h, 2401, Y, H, 7693, C, C