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

Q: ['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']

A: 3961, 1747, v, 7423, 847, a, 4969, T, L, 5383
****
Q: [3099, 6093, 4271, 6819, 5389, 'u', 'X', 'e', 7511, 'W', 1089, 7755, 2839, 4489, 9439, 'e', '9795', '8439', 'k', '4309', '4815', '7907', '1999', '8777', 'K', 'z', '6819', '199', '311', 'P', 'c', '7135', 'n', '7681', 'X', 'y', 'e', '6085', 'Z', 'N', 6013, 9677, 759, 8765, 'r', 6787, 'G', 4705, 7571, 'Q', 'k', 4121, 'C', 'H', 'H', 4407, 'b', 'O', 'e'], [4829, 7255, 7697, 'C', 'y', 4555, 'X', 6141, 'b', 'X', 7179, 'W', 1425, 17, 8659, 'H', 'm', 355, 'b', 'u', 'Q', 'C', 'e', '9795', '8439', 'k', '4309', '4815', '7907', '1999', '8777', 'K', 'z', '6819', '199', '311', 'P', 'c', '7135', 'n', '7681', 'X', 'y', 'e', '6085', 'Z', 'J', 9911, 4879, 3849, 'J', 7507, 'n']

A: e, 9795, 8439, k, 4309, 4815, 7907, 1999, 8777, K, z, 6819, 199, 311, P, c, 7135, n, 7681, X, y, e, 6085, Z
****
Q: ['c', 'z', 1487, 'D', 'G', 395, 'g', 5615, 'd', 3281, 'T', 'H', 'L', 'n', '3413', '2883', 'b', 'W', '6445', '9503', '693', 'e', 'g', '7057', '7195', '9521', 'J', '819', '7565', '7693', '7739', 'I', '2907', 'c', '9231', 'n', 'X', 'J', 1751, 9761, 'I', 2735, 'r', 5127, 's', 5949, 'z', 'Q', 'w', 'l', 't', 'P'], [8517, 'w', 'n', '3413', '2883', 'b', 'W', '6445', '9503', '693', 'e', 'g', '7057', '7195', '9521', 'J', '819', '7565', '7693', '7739', 'I', '2907', 'c', '9231', 'o', 183, 4737, 2317, 2787, 9135, 'F', 4407, 'Q', 'Y', 5839]

A:
n, 3413, 2883, b, W, 6445, 9503, 693, e, g, 7057, 7195, 9521, J, 819, 7565, 7693, 7739, I, 2907, c, 9231
****