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

[Q]: ['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']
[A]: 9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G


[Q]: [2945, 6951, 2771, 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'd', 4197, 'j', 'p', 'z', 1911, 'w', 6663, 7993, 5973, 3193, 7387, 'h', 'e', 8663, 2715], ['U', 'a', 'f', 7179, 7859, 'C', 6081, 2069, 3459, 'm', 'w', 'k', 'q', 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'e', 'v', 'f', 5943, 8771, 'K', 'i', 'c', 'x', 7745, 'F', 'x', 3855, 'S', 5113, 1205]
[A]: k, G, 7377, d, a, p, J, c, R, 6641, a, 2235, 3033, 3189, 7299, h, T, 5111, k


[Q]: ['z', 5029, 'C', 3513, 4009, 'C', 'V', 'c', 'y', 'H', 'e', 'u', '2819', '9137', 'V', '5545', '1255', '4149', '1071', '9087', '7251', 'L', 'U', '1697', '2783', 'a', '3571', 'S', 8827, 5201, 8991, 2259, 'B', 'H', 8983, 'v', 'J', 'J', 4531, 'R', 'X', 'I', 1353], ['s', 6237, 'i', 'G', 7329, 4099, 7253, 5751, 1109, 8381, 5525, 'C', 'V', 'c', 'y', 'H', 'e', 'u', '2819', '9137', 'V', '5545', '1255', '4149', '1071', '9087', '7251', 'L', 'U', '1697', '2783', 'a', '3571', 'q', 'R']
[A]:
C, V, c, y, H, e, u, 2819, 9137, V, 5545, 1255, 4149, 1071, 9087, 7251, L, U, 1697, 2783, a, 3571