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

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: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]

A: 1331, 7235, 8333, a, 4137, b, 9779
****
Q: ['D', 2095, 'z', 'd', 5201, 8961, 'H', 7415, 'w', 'h', 'm', 9939, 'p', 'S', 2225, 'x', 4683, 'h', 'j', '6133', 'J', 'w', '4091', 'i', 'Y', '4067', '9915', '6101', '6439', 'o', '4991', '3015', 'l', 'a', 'C', '4733', 'H', '899', 'Y', 2227, 1823, 9153, 2525, 9947, 'E', 2935, 433, 'b', 3643, 'Z', 9991, 6315, 3555, 'k'], ['I', 'b', 4129, 6177, 'm', 'J', 5141, 69, 4527, 'j', '6133', 'J', 'w', '4091', 'i', 'Y', '4067', '9915', '6101', '6439', 'o', '4991', '3015', 'l', 'a', 'C', '4733', 'H', '899', 'w', 497, 197, 6747]

A:
j, 6133, J, w, 4091, i, Y, 4067, 9915, 6101, 6439, o, 4991, 3015, l, a, C, 4733, H, 899
****