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: ['B', 8045, 3145, 4859, 'j', 181, 'l', '3917', '6351', '659', 'v', '4767', 'S', '1001', '1073', 'Y', 'Z', '9763', 'Z', 'o', '2921', 'h', 'H', '3493', 'k', 'D', 6905, 3883, 6211, 'O', 2063, 8071, 9151, 'z', 'N', 9885, 'O', 'R', 'V', 'Z', 483, 3279], [4491, 'p', 'N', 'I', 4883, 2721, 'u', 'V', 'l', '3917', '6351', '659', 'v', '4767', 'S', '1001', '1073', 'Y', 'Z', '9763', 'Z', 'o', '2921', 'h', 'H', '3493', 'm', 5833, 5833, 4299, 8857, 5289, 'J', 7743, 'k']

A: l, 3917, 6351, 659, v, 4767, S, 1001, 1073, Y, Z, 9763, Z, o, 2921, h, H, 3493
****
Q: [5617, 'R', 2521, 'g', 'J', 'e', 'U', 'j', 'F', '793', '2397', '3595', 'D', 'Q', '3079', 'K', 'p', 'Y', 'r'], ['u', 341, 501, 'S', 'P', 'B', 1267, 1487, 4229, 'E', 'e', 'U', 'j', 'F', '793', '2397', '3595', 'D', 'Q', '3079', 'K', 'p', 'Z', 'E', 'u', 'n', 'W']

A:
e, U, j, F, 793, 2397, 3595, D, Q, 3079, K, p
****