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

[EX Q]: [7849, 813, 1309, 3749, '10001', 'g', '1057', 'c', 't', 't', 'i', 2269, 'M', 'q', 373], ['d', 4077, 3209, 'g', 5643, '10001', 'g', '1057', 'c', 't', 't', 'h', 'Y', 8349, 'q', 3939, 1333]
[EX A]: 10001, g, 1057, c, t, t

[EX 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]
[EX A]: G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507

[EX Q]: [8849, 'I', 8995, 'Y', 'C', 2745, 313, 'H', 'X', 'M', 'X', 's', 'G', '4485', '9961', '5583', 'B', '3049', 'x', '9559', '7513', 'F', '7993', '9033', '8335', 'Z', '2689', '5111', '5233', 'i', '6597', '3069', '6637', 'C', 'b', 'E', 'T', 8027, 'W', 'Q', 'H', 'k', 'y', 5683, 79, 6533, 'p', 7865, 'I'], ['N', 'w', 'F', 4625, 'J', 'M', 'k', 'A', 'Y', 7451, 10011, 7951, 'A', 2467, 'I', 9317, 's', 'G', '4485', '9961', '5583', 'B', '3049', 'x', '9559', '7513', 'F', '7993', '9033', '8335', 'Z', '2689', '5111', '5233', 'i', '6597', '3069', '6637', 'C', 'b', 'o', 4859, 3301, 6501, 1015, 'b', 4393, 's', 4541, 'g', 5175, 'U', 'o', 'I']
[EX A]:
s, G, 4485, 9961, 5583, B, 3049, x, 9559, 7513, F, 7993, 9033, 8335, Z, 2689, 5111, 5233, i, 6597, 3069, 6637, C, b