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

Q: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]

A: 9525, B, o
****
Q: ['a', 8119, 'S', 2575, 3531, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'F', 'N', 'g', 'c'], [5559, 'P', 'V', 1419, 6507, 'W', 9429, 'V', 9763, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'y', 1229, 'S', 5613]

A: 3727, x, J, t, 9825, z, o, 4043, 3637, 7545
****
Q: [1929, 6295, 39, 'z', 5959, 'Q', 1831, 'V', 5443, 'V', 'G', 673, 2711, 707, 'H', 'H', 'C', 4087, 'p', '847', 'O', 'R', '7891', 'o', '2121', '8793', 'E', '4813', '7653', 'j', 'k', '2425', '6013', '309', 'Q', '6693', 'c', '2413', '247', 'y', '8565', '9855', 'p', 'k', 6711, 'B', 8485, 5957, 4049, 949, 7091, 'a', 'k', 'q', 'q', 5429, 9555, 3281, 'R', 'n', 9799, 4161, 'e', 'g'], ['s', 789, 969, 9537, 'Y', 'Z', '847', 'O', 'R', '7891', 'o', '2121', '8793', 'E', '4813', '7653', 'j', 'k', '2425', '6013', '309', 'Q', '6693', 'c', '2413', '247', 'y', '8565', '9855', 'p', 'g', 1641]

A:
847, O, R, 7891, o, 2121, 8793, E, 4813, 7653, j, k, 2425, 6013, 309, Q, 6693, c, 2413, 247, y, 8565, 9855, p
****
