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]: ['p', 4329, 'S', 'D', 9241, 759, 2991, 'F', 3189, 7335, 9261, 'B', 6559, 9299, 7551, 'w', '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'q', 4811, 'a', 7535, 'y', 2697, 9437, 'P', 'V', 9525, 3879, 5751, 1229, 'i', 7163, 'v', 8903, 'F', 6205, 6447, 9677, 5529, 2883, 'G'], [4501, 'L', 'j', 'Y', 2979, 8761, 3813, 7945, 'r', 'X', 327, 'f', 'S', 'c', 6981, '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'g', 5615, 'n', 'e', 2989, 'T', 'P', 'z', 'R', 'E']
[A]: 1413, 7507, P, d, 8315, e, b, s, 7811, Q, S, B, 7459, m, X, 5533, f, F, 9347, Q, w, o, 6161, C

[Q]: ['O', 'W', 7257, 2355, 'Z', 't', 4509, 1567, 5199, 6689, 's', 1477, 'm', 't', '8411', 'B', 'F', 'v', '7779', '4767', 'j', '4707', '3511', '971', 'A', 'h', 'd', 'D', '1201', 'H', '5537', 'w', 't', 'V', 'x', 'W', 'F', '6417', 'e', 'T', 'S', 7465, 6765, 8063, 'q', 's'], [6845, 6777, 'L', 467, 1533, 'j', 5125, 2979, 2875, 2187, 3811, 'B', 839, 1795, 'O', 's', 'o', 'G', 'C', 'e', 'K', 'G', 115, '8411', 'B', 'F', 'v', '7779', '4767', 'j', '4707', '3511', '971', 'A', 'h', 'd', 'D', '1201', 'H', '5537', 'w', 't', 'V', 'x', 'W', 'F', '6417', 'o', 2219, 'w', 'u']
[A]:
8411, B, F, v, 7779, 4767, j, 4707, 3511, 971, A, h, d, D, 1201, H, 5537, w, t, V, x, W, F, 6417