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

Q: [875, 'U', 'g', 'q', 'H', 2847, 'f', '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'e', 'n', 5885, 'w', 3345, 4693, 'H', 7789, 'y', 'j', 'e'], ['V', 'j', 6713, 2923, 'y', 6205, 'm', 5961, 9023, '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'y', 7427, 5987]

A: 6811, B, 7549, K, r, V, x, P, X, 2469, 3845, W
****
Q: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]

A: 9525, B, o
****
Q: [1131, 4943, '199', '9459', '7219', '429', 'L', 'v', 2839, 8523], ['j', 2923, 675, 'X', '199', '9459', '7219', '429', 'L', 'u', 9367]

A:
199, 9459, 7219, 429, L
****