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

Q: [1057, 8997, 6853, 1935, 't', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'v', 'Q', 'L'], [2553, 'S', 'E', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'Q', 'S', 4853, 1079, 7087, 'W', 'k']

A: 3929, 9627, 4599, c, W, S, 7893, 2409, 6647, q, 3657, 3959, 7725
****
Q: [2095, 4189, 3851, 8479, 'L', 3797, 'B', 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 'U', 'n', 5177, 'M', 5593], ['l', 'e', 'k', 4363, 3241, 6099, 5081, 3617, 7859, 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 't', 'N', 6009, 5793, 'T']

A: k, i, e, o, 4383, 3861, 6441, 2477, 9535, S, 9063, w, 5725, 6101, 1753, 3199
****
Q: ['I', 3067, 5311, 5755, 9711, 'A', 'p', 5589, 'p', 'J', '7419', '6871', 'v', 'h', 'y', 't', 'i', '4743', 'e', 3841, 181], [2297, 1853, 'p', 'J', '7419', '6871', 'v', 'h', 'y', 't', 'i', '4743', 'x', 'q', 1039, 8201, 'b']

A:
p, J, 7419, 6871, v, h, y, t, i, 4743
****