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: ['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]

A: 249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z
****
Q: [6623, 'M', 'p', 2325, 'C', 'L', 'm', 5681, 'o', 6631, 6021, '1453', '1993', 'v', 'J', 'o', '6813', 'W', '5255', 'a', 'C', '2935', '4613', 'S', 'B', 'R', 'N', 'W', 'Q', 'y', 'C', 'r', 241, 'C'], ['i', 'T', 'e', 'k', 'O', '1453', '1993', 'v', 'J', 'o', '6813', 'W', '5255', 'a', 'C', '2935', '4613', 'S', 'B', 'R', 'N', 'W', 'Q', 'g', 's', 911, 9433, 5485, 7227, 'w', 4655, 'R', 'm', 'P', 'B', 'x', 'p', 6695, 3463, 'F']

A:
1453, 1993, v, J, o, 6813, W, 5255, a, C, 2935, 4613, S, B, R, N, W, Q
****