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

Q: [431, 4017, 'R', 'a', 'F', '9581', 'Y', 'f', 'z', 'b', 1235], [4115, 'u', 'g', 'f', 2455, 'a', 'F', '9581', 'Y', 'f', 'z', 'm', 7245, 'I', 7021]

A: a, F, 9581, Y, f, z
****
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: [2247, 'n', 'M', 'f', 359, 4073, 'J', 7551, '5885', 'W', '7191', 'g', '101', '47', 'M', 'y', 'o', '5399', '9781', '4417', 'L', 'T', 'z', 2543, 6301, 4573, 's', 5483, 1781], [5519, 5307, 'o', 'j', 'R', 'q', 4331, 1801, '5885', 'W', '7191', 'g', '101', '47', 'M', 'y', 'o', '5399', '9781', '4417', 'L', 't', 2297, 's', 9263, 3927, 7221, 'W', 'K', 'S', 977, 'I', 'v']

A:
5885, W, 7191, g, 101, 47, M, y, o, 5399, 9781, 4417, L
****