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

Q: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']

A: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F
****
Q: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']

A: 3743, 7709, 4991, 1023, z
****
Q: [9271, 3279, 8593, 'o', 7117, 'e', 'o', 'z', '4207', 'V', 'n', 'q', '6561', '7095', '433', '2723', 'h', 'l', 'V', 7393, 'l'], [4929, 5841, 2001, 7347, 'Q', 3075, '4207', 'V', 'n', 'q', '6561', '7095', '433', '2723', 'h', 'y', 2639, 5989, 7349, 1461]

A:
4207, V, n, q, 6561, 7095, 433, 2723, h
****