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

Q: ['z', 2719, 'i', 'l', 'Z', 'u', '6823', 'g', '1665', 'e', 'L', 'A', 6591, 'F'], [4147, 'T', 'Z', 'u', '6823', 'g', '1665', 'd', 8245, 'i']

A: Z, u, 6823, g, 1665
****
Q: [9711, 6103, 3531, 3623, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'b', 6001, 'b', 2477, 'd', 'y', 'C', 9605], ['j', 'P', 'W', 9073, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'X', 8365, 9899, 'H', 'T', 4049, 'Z', 'w']

A: u, 6995, R, p, p, p, 8519, 4447
****
Q: ['E', 'M', 'N', 6753, 'r', 1929, 5293, 251, 'C', 6135, 7209, 'w', 4887, 'f', 'M', 'f', 'A', '9079', '8663', '4353', 'C', 'S', '1477', 'v', 'r', '1505', 'u', 'u', 'z', '9731', 'c', 'm', 'P', 3801, 'b'], [5303, 4803, 'f', 7549, 'N', 7183, 1047, 'A', '9079', '8663', '4353', 'C', 'S', '1477', 'v', 'r', '1505', 'u', 'u', 'z', '9731', 'c', 'm', 'F', 2225, 'J', 'K', 'V', 3601, 6465, 4219, 6251, 6473, 'D', 'Y', 5529]

A:
A, 9079, 8663, 4353, C, S, 1477, v, r, 1505, u, u, z, 9731, c, m
****