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: [6161, 9929, 'e', 2649, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'J', 'Y', 3203, 5389], ['x', 'p', 7335, 4343, 'R', 6755, 'Q', 8319, 'N', 4111, 'a', 'M', 'n', 5739, 'j', 3435, 'J', 6645, 'O', 4833, '8399', 'W', 'G', 'l', '3443', 'W', 'F', 'J', 'g', 'r', 'R', '41', 'c', 'c', '87', 'N', '7757', '2641', 'Z', 'v', 'g', '1365', 'R', '6435', 'P', 'q', 549]

A: 8399, W, G, l, 3443, W, F, J, g, r, R, 41, c, c, 87, N, 7757, 2641, Z, v, g, 1365, R, 6435
****
Q: [6681, 7753, 1257, 'd', 1869, 'a', 'C', 'F', '4029', '7207', 't', 'A', 'R', '8399', '8937', '3643', 'o', 'y', 4355, 3199, 9499], ['q', 6213, 'l', 'C', 8457, 8017, 9589, '4029', '7207', 't', 'A', 'R', '8399', '8937', '3643', 'o', 'd', 8701, 1391, 7083]

A:
4029, 7207, t, A, R, 8399, 8937, 3643, o
****