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

Q: [4249, 1307, 'R', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'H', 'K', 7197, 3907, 'I', 5561], [8961, 1477, 'X', 'C', 7153, 1005, 'C', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'L', 7313, 2449, 4181, 1573]

A: 3377, 9383, w, 7897, S, 1791, f, 6787
****
Q: [7247, 1163, 3573, 'Q', 'j', 'W', 'Z', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'M', 9599, 'n', 'V'], ['m', 5641, 4917, 'p', 'L', 4811, 'W', 9443, 2931, 6127, 't', 'H', 'O', 'V', 'S', 'A', 1447, 'Y', 'O', 6005, 9461, 'l', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'o', 'X', 'E', 'O', 7153, 'c', 'q', 'a', 3629, 'k']

A: 9033, 57, W, 5259, Z, 3169, t, 5065, 8825, s, 4051, 8469, 401, U, 4069, E, V, 8889, S, D, t, 7323, c, 2987, J, D, 3061
****
Q: [7985, 'h', 'Z', 'A', 'r', 'B', 91, 3789, 's', '9175', '9399', '7953', '8129', '2337', '5325', '91', 'A', 'e', 'L', 'o', 6509, 'l', 4221, 'b', 'C', 'r', 'q'], [6363, 3665, '9175', '9399', '7953', '8129', '2337', '5325', '91', 'A', 'e', 'L', 'N', 'c', 'I', 'N']

A:
9175, 9399, 7953, 8129, 2337, 5325, 91, A, e, L
****