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

Q: ['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']

A: 9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G
****
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: [9901, 'J', 291, 8935, 4425, 'f', '7297', 's', 'L', '2335', '1257', 'G', 'Y', '3375', 'n', 'Z', 'k'], [4633, 4015, 'S', 'e', 'f', '7297', 's', 'L', '2335', '1257', 'G', 'Y', '3375', 'O', 'I', 7635, 'u', 7455, 'T']

A:
f, 7297, s, L, 2335, 1257, G, Y, 3375
****