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]: [5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]
[A]: 749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H


[Q]: [2935, 's', 'h', 'B', 'l', '2983', '1707', 'I', 'v', 'K', 'm', 'r', 's', 635, 3573, 8547], ['W', 'L', 'I', 3861, 'h', 'B', 'l', '2983', '1707', 'I', 'v', 'K', 'Q', 'Y', 6273]
[A]:
h, B, l, 2983, 1707, I, v, K


