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]: [571, 969, 3069, 7455, 'g', 'Z', 237, 8231, 71, 'X', '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'C', 'R', 3217, 1445, 3493, 'Y', 'G', 6747, 751, 1347, 7337, 'Z'], ['z', 'U', 477, 'm', 'y', 7909, 413, 6315, 'v', 7173, 1403, 'F', 'M', 7559, 7589, 9021, 'U', 2859, '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'k', 3817, 'Q', 1165]
[A]: 873, N, u, c, n, 759, p, I, 1007, O, V, 9137, G, 1727, 7437, t, 8909, L


[Q]: ['N', 8573, 3567, 2157, 7969, 6099, 'M', 8939, 'j', '521', '6399', 'L', '8213', '395', '2415', 'q', 'B', 'x', '7509', 'q', 'p', 'r', 'y', 'l', 4149], ['h', 'i', 'F', 'p', 'y', 7343, 'd', 'y', 'I', '521', '6399', 'L', '8213', '395', '2415', 'q', 'B', 'x', '7509', 'q', 'p', 'r', 'j', 'K', 1363, 847, 'j']
[A]:
521, 6399, L, 8213, 395, 2415, q, B, x, 7509, q, p, r