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

Q: [9417, 6541, 'V', 4095, 2535, 8271, 4253, 'r', 7251, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'Y', 'm', 3611, 'K', 7553, 'B', 'K', 'T'], ['P', 'r', 6361, 2773, 'r', 2627, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'f', 7923, 3733, 5271, 4083]

A: F, s, 5673, Q, 163, 591, G, m, t, 7069, c, o, t, q, 5595, D
****
Q: [8523, 2741, 'B', 2283, 2319, 5579, 4895, 1093, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'G', 2491], [17, 6185, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'n', 4549, 'g', 1859, 'f', 'B', 4639, 6413]

A: 6081, w, j, U, 8951, g, 3325, 6587, 4979, X, x, 8257
****
Q: [2863, 8725, 6795, '3287', '5287', '8129', 'I', 'O', 'l', 'K', 7707, 7945, 'K'], ['c', 'F', 7391, 4803, '3287', '5287', '8129', 'I', 'O', 'l', 'm', 8817, 'o', 'P']

A:
3287, 5287, 8129, I, O, l
****