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

[Q]: [7409, 'l', 'h', '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'J', 'M', 'Q', 'R', 5567, 'p', 'L'], [2329, 5573, 'N', 't', 3213, 9107, 9337, 79, 1607, 'J', 'y', 'g', 's', 'h', 4251, 'L', 3147, '6739', '5187', 'K', 'D', '7539', '5609', 'x', 'p', 'S', 'j', 'j', '3077', '6081', 'd', '61', '2871', 's', 'x', 'Q']
[A]: 6739, 5187, K, D, 7539, 5609, x, p, S, j, j, 3077, 6081, d, 61, 2871, s


[Q]: [387, 577, 'j', 7891, 'N', 'W', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'U', 'y', 'O', 1627, 5805, 8111], ['P', 'u', 'g', 'M', 6277, 'p', 'U', 'G', 211, 'o', 'd', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'B', 'j', 8827, 'A']
[A]: V, n, A, 9835, 7109, 1637, 6825, J, 4143, a, 253, 2905, R, 1387, W, 4577


[Q]: [9335, 8721, 8021, 'f', 'C', '1231', '1499', 'F', 'd', 'H', '6011', '5831', 'Y', '1193', 'H', 'r', 'Z', 5775, 'r', 3061, 4203, 'L', 'r', 'f', 'A', 'V', 6157], [659, 3775, 7723, 'E', 'i', 'I', 'f', 'C', '1231', '1499', 'F', 'd', 'H', '6011', '5831', 'Y', '1193', 'H', 'G', 6357]
[A]:
f, C, 1231, 1499, F, d, H, 6011, 5831, Y, 1193, H