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

Q: [3937, 'R', 'H', '3517', '1845', 'Y', '8999', '7003', '6677', '8517', 'k', 'W', '5321', '5817', 's', '271', '4109', 'o', 5471, 's', 8751, 2307, 4959, 2645, 7227, 3355, 'Z', 'c', 'D', 1155, 'W', 'T'], ['V', 'B', 'z', 2111, 'H', '3517', '1845', 'Y', '8999', '7003', '6677', '8517', 'k', 'W', '5321', '5817', 's', '271', '4109', 'b', 8675, 9843, 'v', 'n']

A: H, 3517, 1845, Y, 8999, 7003, 6677, 8517, k, W, 5321, 5817, s, 271, 4109
****
Q: [7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]

A: T, 5979, w
****
Q: ['q', 'i', 'E', 'B', '677', 'U', 5441], ['l', 'S', 'E', 'B', '677', 'X', 7625, 2165]

A:
E, B, 677
****