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

Q: [8523, 2741, 'B', 2283, 2319, 5579, 4895, 1093, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'G', 2491], [17, 6185, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'n', 4549, 'g', 1859, 'f', 'B', 4639, 6413]

A: 6081, w, j, U, 8951, g, 3325, 6587, 4979, X, x, 8257
****
Q: [7963, 1119, 5983, 1201, 'f', 7721, 'l', 6831, '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'i', 'X', 5925, 'R', 'm', 6883, 'S', 'J', 's', 'U', 'G', 7225, 7405], ['P', 3151, 'V', 347, 6187, 9261, 867, 'd', 3727, 4495, 'L', 'k', 1911, 'k', 'v', 'T', '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'A', 3797, 7567, 7617, 'E', 7683, 'd', 'K', 1795, 5667, 'y', 4005, 567, 8429]

A: 369, h, P, 9609, C, N, v, J, 8213, Q, 6733, S, 3587, F, 2917, 1601, w, z, b, 7237, 6995, 1907, S
****
Q: [9153, 'H', 6633, 'M', '1593', '9915', '2361', 'g', 'S', 'A', 'D', 9205, 'c'], [8803, 4613, 6129, 2035, 'M', '1593', '9915', '2361', 'g', 'S', 'L', 'C', 7863]

A:
M, 1593, 9915, 2361, g, S
****