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

[Q]: [2165, 'A', 'L', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'c', 4715, 'w', 3191, 'Q', 2951, 3303], [1387, 2063, 'm', 'k', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'o', 9521, 1539, 'e', 6687, 6805]
[A]: 6045, 1245, Y, t, M, y, 1889, H, C, 8175


[Q]: ['Y', 6449, 'w', 5543, 4639, 1899, 'd', 3489, 'x', 'c', 2891, 'H', 9885, 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'P', 'M', 'D', 'U', 6013, 5931, 2445, 'f', 7619, 'm', 6105, 'l'], [453, 583, 'Q', 5309, 2713, 'E', 5809, 'w', 'T', 9873, 4971, 8173, 1659, 2277, 'y', 8653, 1569, 'M', 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'C', 'W', 'r', 'x', 'H', 3247, 'G', 'R', 7035, 6599, 'U', 't']
[A]: t, N, s, A, E, 3601, p, n, m, y, 6587, v, 247, k, 7529, T, 623, 8713, 7551, 3433, 7981, q, F, n, 3275, 3265, n


[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