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: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]

A: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331
****
Q: ['i', 5859, 9001, 'G', 9067, 'G', 'o', 5355, 'l', 'x', 'E', 'm', 'q', '7265', 'c', '3279', '6563', '9377', 'g', '3817', '8001', 'i', '7557', '1377', '5159', '6213', 'Z', 'n', 'p'], [9683, 'T', 1675, 565, 'l', 'E', 'm', 'q', '7265', 'c', '3279', '6563', '9377', 'g', '3817', '8001', 'i', '7557', '1377', '5159', '6213', 'Z', 'Y', 4419, 7473, 8291, 's', 5303]

A:
E, m, q, 7265, c, 3279, 6563, 9377, g, 3817, 8001, i, 7557, 1377, 5159, 6213, Z
****