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

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: [4665, 'U', 1617, 4891, 3015, 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'B', 'H', 'y', 6819, 9689, 4667, 6651, 'Z', 4359, 3239, 'k'], [4575, 7833, 7267, 't', 'C', 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'v', 4883, 'l', 3055]

A: k, 9381, 4077, f, T, G, z, 9879, q, f, g, G, 8765, D, 1755
****
Q: [2255, 4205, 'U', '7567', 'k', 5167], ['Q', 9439, 'U', '7567', 'H', 1307]

A:
U, 7567
****