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

Q: ['x', 653, 8793, 'W', 1845, 'Y', 6363, 9757, '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'J', 703, 'F', 'X', 'x', 7483], ['q', 10017, 5483, 8675, 'w', 'F', 'D', '9605', 'U', '1913', '2991', '7131', '237', '7023', 'j', '2123', 'B', '1887', 'K', '3729', 'D', '8391', '9729', 'w', 'k', 'M', '6957', 'n', 7147, 7131, 'q', 'u', 'A', 1171, 'V', 'k', 'N', 6869]

A: 9605, U, 1913, 2991, 7131, 237, 7023, j, 2123, B, 1887, K, 3729, D, 8391, 9729, w, k, M, 6957
****
Q: [1929, 4689, 'n', 8041, 9403, 9827, '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'L', 'f', 'm', 'Z', 6739, 'Q', 'm', 'B', 2313], ['v', 'l', 1235, 'N', 9583, 'p', 5865, 'd', 'L', 8093, 9981, 7681, 'j', 'W', 'i', 'N', 'S', 7663, 'K', 'T', 'O', 'S', 5629, 'M', 5999, 'V', '9187', '8209', '859', 'g', 'W', 'U', '1479', 'r', '4511', 'Z', 'c', '1191', 'A', '6903', 'n', '5933', '3263', '5161', '2377', '4877', 'f', '4231', '7169', 'z', 'k', '2733', '9957', 'R', 9373, 'U', 'A', 9265]

A: 9187, 8209, 859, g, W, U, 1479, r, 4511, Z, c, 1191, A, 6903, n, 5933, 3263, 5161, 2377, 4877, f, 4231, 7169, z, k, 2733, 9957
****
Q: [7541, 4841, 'o', 'Q', 'V', 5319, 'G', 'U', 6503, 6203, 417, 1021, 's', 'R', 'z', 'K', 'N', 'D', '4047', 'p', 'A', 'I', '8327', 'M', 'y', 'O', '4851', '4727', 'E', '8759', 'Y', 'f', 'Y', 6021, 439, 1459, 'y', 'k', 'v', 's', 5331, 7387, 551, 5939, 'P', 'T', 'm', 'c', 'r'], ['M', 505, 'Y', 'N', 9905, 'D', 'O', 'P', 5039, 'Q', 1101, 2311, 7437, 9503, 'K', 'N', 'D', '4047', 'p', 'A', 'I', '8327', 'M', 'y', 'O', '4851', '4727', 'E', '8759', 'Y', 'f', 'm', 7585, 763, 217, 4087, 'Y', 'D', 9509]

A:
K, N, D, 4047, p, A, I, 8327, M, y, O, 4851, 4727, E, 8759, Y, f
****