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

[Q]: ['S', 'd', 'z', 2305, '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'U', 'y', 'N', 'n', 6769], ['Q', 'T', 'n', 1267, 5099, 57, 4739, 295, 8099, 'n', '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'K', 'n', 'N', 'b', 3941, 3443, 'A', 7927, 'g', 'h']
[A]: 2731, W, 5987, 4043, w, v, S, v, 1143, 1725, 9073, 4411, 9321, 1213, 3111, 2527, U


[Q]: ['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']
[A]: 3961, 1747, v, 7423, 847, a, 4969, T, L, 5383


[Q]: ['S', 4345, 'j', '2681', '3049', 'N', '9547', 't', '9133', '3541', 'y', '3189', '7903', '8331', 'v', 'k', 'a', 2899, 567], ['S', 'm', 1719, 'w', 8877, 'W', 'k', '2681', '3049', 'N', '9547', 't', '9133', '3541', 'y', '3189', '7903', '8331', 'v', 'h', 3531, 'U', 'J', 'A', 'p', 4397, 4727, 'l']
[A]:
2681, 3049, N, 9547, t, 9133, 3541, y, 3189, 7903, 8331, v