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

Q: [273, 'i', 4051, 9063, 'D', 'E', 5087, 'M', '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'h', 'u', 5559, 1733, 9555], ['i', 5977, 'r', 'b', 589, '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'n', 'y', 'q']

A: 9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339
****
Q: [5703, 'd', 2573, 'V', 9273, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 'Z', 'J', 'C', 'O', 6077, 1125, 1345, 8989], ['f', 59, 8449, 5387, 8075, 9721, 5271, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 2375, 3141, 'Z', 'Y', 'N']

A: 7133, O, 6191, 6151, 5017, c, b, 1721
****
Q: [1335, 'q', 2527, 's', 'n', '6375', '3609', 'Z', 'N', 6999], [1275, 'm', 9393, 'n', '6375', '3609', 'Z', 'i', 4325]

A:
n, 6375, 3609, Z
****