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

[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]: [9525, 't', 3155, 5631, 5645, 'M', 'p', 'n', 'M', 3321, 6305, 'h', 2935, 't', 'R', 'r', 1307, 'i', '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'n', 5673, 'd', 6513, 'm', 'N', 'K', 4883, 'F', 2833, 739, 'Z', 'n'], ['u', 'M', 'b', 5671, 4401, 'j', 'r', 743, 633, 4021, 'i', 8229, 'a', 'J', 5117, 3953, 's', 5899, 4883, 'h', 'M', 'd', 1421, 6837, '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'Y', 5741, 3519, 63, 'x', 'h', 7511]
[A]: 1527, 8659, 8931, M, f, f, 9303, 5559, D, l, o, 2333, g, 7037, 6993, k, 2893, X, v, i, 9517, x, 1591, 7527, h, F, T, 7673, 8829


[Q]: [1381, 6885, 'H', 8827, 'K', 'y', 'q', 'j', 'X', 'g', '9839', 'f', 'z', 'I', 6923, 10029, 'p', 1069, 'r', 'V'], ['i', 9959, 'y', 'q', 'j', 'X', 'g', '9839', 'f', 'z', 'd', 6501, 'u', 2219, 'C', 3207, 'P']
[A]:
y, q, j, X, g, 9839, f, z