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

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
****
Q: [3535, 10023, 'g', 'B', 'E', 'p', 'K', 'y', 1187, 5353, 8779], [1169, 981, 'B', 'E', 'p', 'K', 'D', 'h', 4145, 'h']

A: B, E, p, K
****
Q: [1241, 1299, 7087, 925, 7711, 'r', '1065', '4473', 'r', 'A', '2507', '945', 'w', 'S', 'q', 8335, 'D', 'f'], [4099, 'C', 'D', 'u', 9161, '1065', '4473', 'r', 'A', '2507', '945', 'w', 'V', 9147, 'y', 'T', 'k', 'H', 559]

A:
1065, 4473, r, A, 2507, 945, w
****