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: [2087, 5665, 'W', 'H', 6711, '8181', 'q', '1949', 'j', '7351', 'g', 5827, 4893, 9173], [5187, 4249, '8181', 'q', '1949', 'j', '7351', 'w', 'Z', 'C', 3255]

A: 8181, q, 1949, j, 7351
****
Q: ['o', 6029, 3977, 'p', 2461, 6469, 'C', 'E', 'u', 'q', '3919', 'v', '1493', 'a', 'R', 'f', '1009', '869', 'w', 'n', 'u', 'y', 6143, 3229, 8999, 3119, 'n', 'W', 'K'], ['a', 'j', 'k', 'P', 'H', 'B', 'Q', 'z', 'U', 'u', 'q', '3919', 'v', '1493', 'a', 'R', 'f', '1009', '869', 'w', 'n', 'u', 'E', 6917, 'R', 3797, 1363]

A:
u, q, 3919, v, 1493, a, R, f, 1009, 869, w, n, u
****