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: ['j', 'Q', 2919, 2195, 'P', 'H', 'r', 'P', 5051, 'Y', 'W', 8151, 3411, 'L', 'v', 'k', 5531, 'm', '789', '421', '5807', '3707', 'h', '4147', 'G', '4797', 'm', 'v', '151', '5001', 'r', '2637', '9981', '4791', 'G', '5173', '5059', 'O', '4437', 'X', 'R', 'g', '1989', 'q', 'i', 'R', 1973, 'm', 3695, 'I', 7909, 'q', 2515, 7659, 'n', 'M', 2121, 4117, 'J', 'Y', 9869, 5551, 8069, 7393, 'Q', 'z', 5551, 'B', 's'], ['W', 9301, 'y', 2707, 5039, 1905, 1657, 'A', 7213, 1975, 9875, 8915, 'R', 1127, 1599, 1615, 2069, 'B', 5781, 'v', 127, 435, 9967, 'r', 'm', '789', '421', '5807', '3707', 'h', '4147', 'G', '4797', 'm', 'v', '151', '5001', 'r', '2637', '9981', '4791', 'G', '5173', '5059', 'O', '4437', 'X', 'R', 'g', '1989', 'X', 'O', 7793, 'Z', 'u', 3029]

A: m, 789, 421, 5807, 3707, h, 4147, G, 4797, m, v, 151, 5001, r, 2637, 9981, 4791, G, 5173, 5059, O, 4437, X, R, g, 1989
****
Q: ['A', 'F', 'd', 1189, 1375, 1651, 5105, 'V', 739, 1027, 1013, 7415, 'M', 9647, 1157, 'X', 'Y', 'h', 'a', 2923, 'Q', 'r', 'C', 6217, 1577, 'w', 'P', '7421', '8093', '6415', 'N', 'K', '5191', '4349', 'T', 'F', 'M', '7881', 'w', '7033', '4351', 'x', '8053', '8801', '3485', 'c', '8957', '3839', '9785', '7639', 'b', 'T', '3007', 'W', 2433, 5889, 4773, 'K', 'j', 'd', 9369, 'Q', 1477, 2285, 'v', 'o', 'D', 841, 8549, 'g', 'z', 7255, 'C', 7371, 4869, 'v'], [4093, 'T', 'b', 'T', 'h', 357, 5361, 'M', 665, 6209, 2279, 5371, 'p', 'W', 'f', 1623, 'f', 7567, 'h', 4617, 463, 7337, 'P', '7421', '8093', '6415', 'N', 'K', '5191', '4349', 'T', 'F', 'M', '7881', 'w', '7033', '4351', 'x', '8053', '8801', '3485', 'c', '8957', '3839', '9785', '7639', 'b', 'T', '3007', 'R', 'G', 'z', 'S', 7359, 'x', 'b', 'l', 'n', 2719, 'B']

A:
P, 7421, 8093, 6415, N, K, 5191, 4349, T, F, M, 7881, w, 7033, 4351, x, 8053, 8801, 3485, c, 8957, 3839, 9785, 7639, b, T, 3007
****