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

Q: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']

A: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955
****
Q: [4961, 'H', 9957, 'w', 'K', 'Y', 3375, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'y', 2753, 2989, 6093, 7091, 8043, 'c'], [9279, 'S', 6127, 5845, 237, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'w', 9497, 'K', 2297]

A: S, 3191, 4439, C, 1965, 2787, 4507
****
Q: ['H', 6721, '5001', 'G', 'Y', '7183', 'S', '8377', '7367', '8117', '8767', '1227', 'S', 'u', 'H'], [2869, 'Q', 117, 647, 'G', 'Z', 531, 6335, 7541, '5001', 'G', 'Y', '7183', 'S', '8377', '7367', '8117', '8767', '1227', 'S', 'f', 'o', 1621, 3399, 'V', 'W', 1825, 'N', 8661]

A:
5001, G, Y, 7183, S, 8377, 7367, 8117, 8767, 1227, S
****