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

Q: [9049, 'c', 'B', 'H', '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'N', 'z', 8197, 'p', 8453, 2429, 1051, 'Y', 4315, 5473, 't', 4905, 'J', 'l', 5959, 't', 'x', 'F', 8431], [9507, 2299, 6223, 3229, 4513, 3943, 'R', 2817, '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'T', 3597]

A: 8393, 3255, C, 6239, G, 1819, 6771, 1217, 2853, 7341, C, S, 2155, N, 2837, N, v, 9271, Q, g, 8921, 7371, G
****
Q: [9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']

A: f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929
****
Q: [361, 'N', 9543, '8807', 'K', 'x', 'u', 'V', 'Q', 'o', '7959', '3799', 'S', '5855', 'B', 'V', 'z', 7987, 's', 4667, 'Z', 'F', 5417, 6409, 9133, 'd', 'H', 'o', 'i'], [3525, 'c', 'w', 'W', 1783, 573, 'Z', 1843, 'h', 'g', 5093, '8807', 'K', 'x', 'u', 'V', 'Q', 'o', '7959', '3799', 'S', '5855', 'B', 'V', 'K', 5193, 'f', 'o', 6009, 'x']

A:
8807, K, x, u, V, Q, o, 7959, 3799, S, 5855, B, V
****