In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [2447, 6831, 5507, 'g', 1761, 'f', 3413, 1719, 'c', 4043, 'U', 3239, 59, 'G', 'P', 'l', 'L', 611, 7673, 7103, 3277, 'l', 'y', 'F', 's', 'x', 'd', '5879', '6151', 'f', 'n', 'i', '1887', 'Z', '793', '3439', 'p', 'c', 'c', '483', '7103', 'F', '5557', 'b', 'r', '6865', 'n', '9163', 'V', '4991', 'B', 'l', 8573, 6291, 4557, 'v', 'G', 'f', 'K'], [3799, 'I', 1933, 'M', 7691, 9873, 's', 6051, 9681, 1333, 'X', 'z', 3967, 3019, 8191, 3531, 8503, 6189, 565, 'Y', 'Z', 's', 'x', 'd', '5879', '6151', 'f', 'n', 'i', '1887', 'Z', '793', '3439', 'p', 'c', 'c', '483', '7103', 'F', '5557', 'b', 'r', '6865', 'n', '9163', 'V', '4991', 'D', 'k', 6581, 'r', 'r', 'Z', 't', 'w', 3455, 'y', 'k', 'X', 'Q', 6929, 10003, 'N', 8555]
A:
s, x, d, 5879, 6151, f, n, i, 1887, Z, 793, 3439, p, c, c, 483, 7103, F, 5557, b, r, 6865, n, 9163, V, 4991