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

Q: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']

A: 8157, 9625
****
Q: ['t', 'f', 3791, 2099, '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'b', 'f', 'i', 2371, 'W', 'c', 'c', 'l', 5505, 'L', 'w', 'a'], ['s', 5505, 'h', 4601, 4713, 6191, 't', 9213, 'D', 1777, 'E', '3895', '5725', '7743', '9219', 'c', '6319', '3099', '3601', 'a', '2943', '2543', '51', 'r', 'w', '2379', '5423', '5807', 'l', 'v', 5275, 'C', 'Y', 3371, 7105, 411, 'f', 8409]

A: 3895, 5725, 7743, 9219, c, 6319, 3099, 3601, a, 2943, 2543, 51, r, w, 2379, 5423, 5807, l
****
Q: ['s', 2047, 1113, 957, 'x', 7327, 'F', 10007, '3887', 'm', '2785', '503', 'Q', '3375', '9833', 'L', '7371', 'J', '7685', 'h', '847', '4101', 'r', 'w', '7777', 'X', '3927', '3465', '4207', '8793', 'Y', 'U', '2749', 'F', 9275, 6521, 'g', 'm', 'h', 7309], ['O', 1861, 'Z', 1967, 'k', 'U', 5707, 'j', 4523, 'W', 'b', 6577, 6877, 'h', 'u', 'Z', 'f', 'f', 'e', 8909, 1283, 6661, '3887', 'm', '2785', '503', 'Q', '3375', '9833', 'L', '7371', 'J', '7685', 'h', '847', '4101', 'r', 'w', '7777', 'X', '3927', '3465', '4207', '8793', 'Y', 'U', '2749', 'C', 'y', 'q', 5503, 6423, 'q', 'w', 7869]

A:
3887, m, 2785, 503, Q, 3375, 9833, L, 7371, J, 7685, h, 847, 4101, r, w, 7777, X, 3927, 3465, 4207, 8793, Y, U, 2749
****