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

Q: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']

A: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827
****
Q: ['p', 4329, 'S', 'D', 9241, 759, 2991, 'F', 3189, 7335, 9261, 'B', 6559, 9299, 7551, 'w', '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'q', 4811, 'a', 7535, 'y', 2697, 9437, 'P', 'V', 9525, 3879, 5751, 1229, 'i', 7163, 'v', 8903, 'F', 6205, 6447, 9677, 5529, 2883, 'G'], [4501, 'L', 'j', 'Y', 2979, 8761, 3813, 7945, 'r', 'X', 327, 'f', 'S', 'c', 6981, '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'g', 5615, 'n', 'e', 2989, 'T', 'P', 'z', 'R', 'E']

A: 1413, 7507, P, d, 8315, e, b, s, 7811, Q, S, B, 7459, m, X, 5533, f, F, 9347, Q, w, o, 6161, C
****
Q: [9393, 'e', 5329, '1001', '5653', 'Y', 'O', 655, 2971], [7385, 4595, 4337, '1001', '5653', 'Y', 'P', 5853]

A:
1001, 5653, Y
****