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

Q: ['M', 7643, 'K', 8165, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'L', 5655, 5237, 'G', 'H', 'g', 'K', 9089], ['t', 1921, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'H', 2771, 7085]

A: e, 6737, 6573, 9181, n, l, 6555, 7291, 1765, Q, 4605, 7507, 6775, x, n, 8703, y, 2301, E
****
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: [8015, 3995, 9171, 6383, 'k', '5049', '6531', '7053', '9561', 'y', 'i', 'G', '8001', 'j', 'r', '5149', '8313', 'E', 'c', 't', '9431', 'o', 'Q', 'L', 6781, 1427, 'i', 3753, 8195, 3175, 2401], ['x', 'U', 'e', 't', 'F', 'C', 25, 's', 8503, 'h', 'c', 5731, 'm', 'k', '5049', '6531', '7053', '9561', 'y', 'i', 'G', '8001', 'j', 'r', '5149', '8313', 'E', 'c', 't', '9431', 'C', 'E', 4493, 'm', 8521, 8847, 'w', 'g']

A:
k, 5049, 6531, 7053, 9561, y, i, G, 8001, j, r, 5149, 8313, E, c, t, 9431
****