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

Q: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]

A: a, 3619, 5119, 4219, 769, 8735, 6417, V, W
****
Q: ['N', 'V', 'O', 'x', 1311, 'v', 'd', 8727, 6043, '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'a', 'T', 3027, 'l', 5595], ['r', 'K', 'R', 6379, 'o', 'w', '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'x', 'q', 'p', 'Q', 'D', 'B', 9451, 'w', 2131]

A: 5765, 7781, 5561, S, b, F, 7789, 6181, N, 6861, 9347, 6701, 3981, 4855, B, 7527, X, v, D, 9489
****
Q: ['P', 7829, 'S', 2433, 'n', 201, 'e', 'R', '1005', '229', '9357', 'Z', '9421', 'r', 'w', 301, 4293, 1731], [8829, 2765, 7717, 'X', 8325, 'B', 'R', '1005', '229', '9357', 'Z', '9421', 'r', 'E', 3241]

A:
R, 1005, 229, 9357, Z, 9421, r
****