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

Q: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]

A: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695
****
Q: [1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]

A: 5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B
****
Q: [3039, 8101, 2013, '549', 'g', '7509', 'z', '2531', '3735', 'F', 'r', '3791', 'F', 'i', 'e', '3991', '7081', 's', 'x', 8263, 'g', 'f', 3639, 3779, 'a', 'F', 9883], [7795, 3715, 489, 'Q', 3563, 'A', 2909, 5493, 6391, 'd', 'U', 5445, '549', 'g', '7509', 'z', '2531', '3735', 'F', 'r', '3791', 'F', 'i', 'e', '3991', '7081', 's', 'H', 9915, 2595, 'j', 'B', 2781]

A:
549, g, 7509, z, 2531, 3735, F, r, 3791, F, i, e, 3991, 7081, s
****