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

[Q]: ['n', 'p', '5665', '9875', 'Z', '9135', 'F', 'r', '2835', 'I', 'n', 'C', 'k', 'k', '9629', 'c', '5603', 'w', '1293', '6133', 'G', '1869', 'B', 'g', 's', 'X', 'M', '1433', '8999', 'K', '4555', 'L', 'c', 'X', 5517, 'A', 'U', 'p', 'q', 'd', 9425, 'P', 'P', 4407, 3953, 'r', 'u', 9549, 'Z', 1339, 'P', 's', 769, 'z', 'h', 'x', 4067], ['f', 'P', 'J', 8641, 2081, 'c', 1315, 'K', 8255, 9391, 'A', 'V', 4105, 1301, 8621, 'e', 'N', 673, 2799, 'm', 'j', 3787, 9147, 1157, 'L', 7937, 8973, 6345, 9049, 3903, '5665', '9875', 'Z', '9135', 'F', 'r', '2835', 'I', 'n', 'C', 'k', 'k', '9629', 'c', '5603', 'w', '1293', '6133', 'G', '1869', 'B', 'g', 's', 'X', 'M', '1433', '8999', 'K', '4555', 'L', 'h', 'L', 'x', 9511, 6839, 'y', 9029, 9597, 8967, 'Z', 8653, 8671, 2785]
[A]: 5665, 9875, Z, 9135, F, r, 2835, I, n, C, k, k, 9629, c, 5603, w, 1293, 6133, G, 1869, B, g, s, X, M, 1433, 8999, K, 4555, L


[Q]: [4931, 5661, 8651, 'l', 'd', '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'K', 2179, 5747, 'C'], [3737, 7345, 3921, 'i', 9199, 3269, '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'A', 'd', 185, 'M']
[A]: 9585, r, U, z, 6511, 9443, 2917


[Q]: [933, 9413, 9683, 'd', 'R', 'f', 'x', 2517, 4291, 'D', 'c', 2831, 2199, 'o', 'K', 'K', 'P', 'T', 'C', '1751', '237', 'u', '7787', '4341', '1887', '6747', 'D', 'C', 'b', 'f', 'h', '6639', '1087', 'g', 'L', 'x', 'p', '3027', 'g', 'f', 'P', 'k', 'H', 1087, 9801, 'F', 9949, 7761, 'b', 'A', 'o', 'N', 'Q', 211, 9203, 'f', 4985, 'b', 9801, 9441, 821, 'a', 7155, 'T', 'P', 'F', 3369], [4525, 5493, 'K', 'P', 'T', 'C', '1751', '237', 'u', '7787', '4341', '1887', '6747', 'D', 'C', 'b', 'f', 'h', '6639', '1087', 'g', 'L', 'x', 'p', '3027', 'g', 'f', 'P', 'f', 'V', 3251, 'q', 'K', 'n', 3051, 'o', 1663, 6951, 2459, 'G', 2891, 2967, 1203, 4519, 2995, 'A', 'V', 9399, 1581, 'B', 'C']
[A]:
K, P, T, C, 1751, 237, u, 7787, 4341, 1887, 6747, D, C, b, f, h, 6639, 1087, g, L, x, p, 3027, g, f, P