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

[Q]: [6397, 'W', 'k', 'v', 'E', '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'N', 1329, 5233, 'U', 2563, 'L', 8547], [1857, 'F', 'g', 8381, 165, 'o', 7009, 5455, '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'X', 'g']
[A]: 1941, 2295, q, 1357, 2041, 5263, 7781, w


[Q]: [4717, 'J', 'B', 'f', 'a', 9035, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'F', 5099], ['Q', 3557, 'y', 2689, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'k', 8835, 'C', 8979]
[A]: 3041, 491, 3395, 3117, 4793, 4305, c


[Q]: [9075, 'u', 'l', 5713, 'q', 6375, 3585, 'W', '2507', 'j', '5879', 'F', '6413', '249', '3469', 'Y', '7981', '7199', '3291', 'l', '8597', '1909', '9885', '6133', 'q', 'g', 4561, 6459, 'x', 593, 'P', 'I', 4979, 'I', 'K', 1159, 'L', 'v', 8307, 'D'], ['h', 'n', 'p', 9699, 2607, 9999, 'd', 5513, 'O', 8589, 'v', '2507', 'j', '5879', 'F', '6413', '249', '3469', 'Y', '7981', '7199', '3291', 'l', '8597', '1909', '9885', '6133', 'c', 8369, 5135]
[A]:
2507, j, 5879, F, 6413, 249, 3469, Y, 7981, 7199, 3291, l, 8597, 1909, 9885, 6133