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

Q: ['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]

A: 9169, 1575, 5233, 1749, 5739
****
Q: [5225, 'L', 1023, 8623, 'k', 'f', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'b', 517], [1243, 't', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'x', 5545, 's', 'a']

A: 1481, e, m, 4013, l, 831, n, 3137
****
Q: ['M', 4439, 'l', 5927, 'S', 885, 'F', 'B', 'X', 6591, 9733, 2343, 8427, 'A', '5133', '155', '9771', 'T', '7569', 'x', 'n', '2115', '3011', 'G', 'H', 'p', 'o', '7425', '8683', '8383', '975', 'h', 'o', '671', 'k', 'b', 'm', 'I', 'f', 'k', 'o', 'V', 'h', 5241, 'u'], ['D', 't', 'c', 1517, 7191, 'A', '5133', '155', '9771', 'T', '7569', 'x', 'n', '2115', '3011', 'G', 'H', 'p', 'o', '7425', '8683', '8383', '975', 'h', 'o', '671', 'k', 'b', 'm', 'I', 'f', 'l', 'V', 'V', 'x', 'K', 'B', 1463, 'u', 5199, 9941, 775, 'h', 9003, 9841, 'w', 'G', 'M', 'u']

A:
A, 5133, 155, 9771, T, 7569, x, n, 2115, 3011, G, H, p, o, 7425, 8683, 8383, 975, h, o, 671, k, b, m, I, f
****