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

Q: ['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']

A: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707
****
Q: [2585, 'R', 'a', 9005, 829, 1751, 'I', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'Q', 'K', 1021, 635, 'L', 'r', 'D', 6997, 4363, 'm', 2661, 7933, 'v'], [2855, 'Q', 7207, 'F', 9581, 9807, 3127, 6695, 4363, 'V', 'd', 2791, 't', 4507, 1047, 5959, 2697, 6393, 1751, 5521, 'S', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'C', 437, 'c', 63, 469, 'R', 'I', 10007, 'B', 'S', 4919, 'V', 7431, 9317, 9909, 421, 'J', 't', 'O', 'r', 3653]

A: G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507
****
Q: ['F', 7251, 9053, '8759', 'T', '8875', '2679', 'B', '1201', 'L', 'F', 8901, 'm', 683], [127, 'b', 8179, 9243, 'x', '8759', 'T', '8875', '2679', 'B', '1201', 'k', 7015, 'P', 'J', 'o', 'w']

A:
8759, T, 8875, 2679, B, 1201
****