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

[Q]: [4601, 2349, 'b', 'b', 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'u', 7239, 'o', 5437, 5729, 3109], [2629, 9653, 7873, 'T', 6873, 2939, 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'w', 'G']
[A]: o, d, D, M, P, 3119, s, 9507


[Q]: [5179, 's', 7203, 4301, 3441, 'k', 'P', 't', 'r', 3027, 's', 3809, 'u', 'S', 'h', 5087, 'z', 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'z', 'V', 'l', 521, 9401, 3845, 6245, 3437, 'w', 'u'], ['u', 4399, 'R', 'v', 'x', 1061, 7505, 'r', 8411, 'o', 9285, 477, 3823, 'O', 'B', 2731, 5879, 'a', 'b', '3333', '6041', '2765', 'q', '9485', '7697', 'E', '509', 'Q', '1573', '4879', '1197', '4515', 'k', 'c', 'G', 9613, 8995, 3881, 'i', 'G', 't', 2473, 1297, 7481, 'v', 'a', 7607, 1147, 3263, 'p']
[A]: a, b, 3333, 6041, 2765, q, 9485, 7697, E, 509, Q, 1573, 4879, 1197, 4515, k, c


[Q]: ['W', 7569, 'Z', 2209, 'K', 'e', 513, 1363, 'h', 6667, 'K', '4239', 'v', 'O', 'L', 'K', '671', 't', '6091', 'N', 'I', '8611', '4721', 'h', 117, 6201, 'f', 7989, 8941, 'U', 'x', 'N'], [2485, 'L', 2831, 297, 8101, 4111, 'K', '4239', 'v', 'O', 'L', 'K', '671', 't', '6091', 'N', 'I', '8611', '4721', 'm', 3737, 'E', 'S', 'T', 71, 'C', 8085, 'G', 8787, 3915, 'g']
[A]:
K, 4239, v, O, L, K, 671, t, 6091, N, I, 8611, 4721