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: [8235, 6785, 'P', 'N', 'y', '5503', '6065', '2039', 'Q', 'o', 'F', 7791, 'R', 'm', 3633], ['s', 863, 'z', 'y', '5503', '6065', '2039', 'Q', 'o', 'o', 6907, 5837, 's', 2553]

A: y, 5503, 6065, 2039, Q, o
****
Q: ['v', 9571, 'F', '3503', '5505', '2109', 'X', 'c', 'z', 'h'], ['a', 'S', 3869, 'F', '3503', '5505', '2109', 'u', 'D', 9369, 'M']

A:
F, 3503, 5505, 2109
****