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

Q: ['J', 'b', 'R', 'v', 6421, 'i', 4179, '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 't', 9093, 9035, 8487], ['V', 'j', '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 'F', 6281, 8109, 'R', 2589]

A: 3583, 7897, 9525, b, 4163, 5465, 255, 5923
****
Q: [2185, 'H', 9933, 6987, 'l', 'N', 3787, 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 't', 8763, 2723, 457, 8941, 9919], [2819, 4477, 'x', 'S', 'D', 1309, 4739, 'B', 'Z', 'K', 7141, 'I', 'x', 6709, 'p', 5629, 'M', 8669, 3157, 5169, 9737, 'Z', 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 'w', 'j', 5143, 6859, 8985, 8441, 'K', 'H', 's']

A: H, K, X, I, 8517, a, M, e, 7443, 185, 6897, 8395, 3867, 4671, e, 2031, 877, T, 735, 1273, d, 7757, 2005
****
Q: ['G', 'X', 'M', 8461, 4539, 3107, 'W', 9915, 2905, 4549, 't', 7525, '3047', 'G', 'C', 'U', 'i', 'M', '4625', 'R', 'f', '8081', '147', '8635', 'd', '7845', '581', '9369', 'L', 5199], ['J', 3809, 'g', 'r', 'G', 'T', 'T', 9027, 'z', 9711, 'F', 5345, 'c', 'T', '3047', 'G', 'C', 'U', 'i', 'M', '4625', 'R', 'f', '8081', '147', '8635', 'd', '7845', '581', '9369', 'J', 9613, 'v', 9885, 327, 'W', 's', 'i', 'l', 'Y']

A:
3047, G, C, U, i, M, 4625, R, f, 8081, 147, 8635, d, 7845, 581, 9369
****