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

Q: [435, 5991, 'L', 2351, 5221, 6381, 8655, 'U', 'q', 7163, 1771, 'c', 1181, 'v', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'u', 1721, 'W', 4519, 8045, 7749, 7163], ['z', 'Z', 9691, 'b', 'Y', 'A', 'a', 'q', 7549, 'm', 'x', 's', 'b', 5655, 2087, 'f', 'o', 8235, 1383, 'h', 'O', 7531, 'T', 2283, 'r', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'P', 4935, 7767, 4325, 755]

A: 4831, 8155, D, 3079, 1677, r, 2713, k, 9587, 8141, 3037, 21, 9135, 9197, 3459, P, 915, s, 5539, h, 599, 9937, o, C, 1637, 8921
****
Q: ['x', 'T', 'K', 'i', 935, 's', 209, 6485, 7803, 'Z', 'Q', 'H', 'u', '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'N', 'p', 9815, 'Q', 'u', 'U', 1559, 'Y', 'z', 'i', 3473, 's', 7251, 5303, 'k', 'u'], [9843, 'H', 3903, 6499, 'y', 'u', 'v', 'i', 'p', 8877, 27, 'Z', 6151, 5793, 'F', 'u', 'K', 'f', 'F', 8005, 'r', 4323, 2093, '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'O', 'u', 'J']

A: 5629, 7573, 4679, 73, 6729, 1943, Y, b, 1595, R, 1475, 9785, 3773, 4077, 2189, r, d, 9613, L, S, 6619, 9039, 7557, 999, F
****
Q: [4051, 'c', 'f', 8581, 1235, 5845, 'D', 'i', 'i', 129, 1399, '7829', 'n', 'G', '4261', '4529', 'i', '63', 'o', '6117', 'F', 'K', '7043', '5391', 'X', 'r', 'V', 'f', '6541', 'X', '1289', 't', 'P', '5097', 'y', '6529', '7729', 'y', 'r', 'Q', 'c', 'r', 'J', 5431, 785, 3371, 'A', 't', 'v', 6259, 5327, 'I', 8091, 'g', 'U', 'l', 'v', 8403, 9247, 'P', 717, 'C', 'D', 9743, 'H', 21], [9335, 'h', 'p', 4233, 'A', 'W', 'J', 'l', 2579, '7829', 'n', 'G', '4261', '4529', 'i', '63', 'o', '6117', 'F', 'K', '7043', '5391', 'X', 'r', 'V', 'f', '6541', 'X', '1289', 't', 'P', '5097', 'y', '6529', '7729', 'y', 'r', 'N', 5405, 'M', 8431, 2191, 'y', 9387, 3477, 'G', 'h', 'F', 'c', 'S', 6147, 'U', 2209, 'K', 'D', 'o', 9959, 'p']

A:
7829, n, G, 4261, 4529, i, 63, o, 6117, F, K, 7043, 5391, X, r, V, f, 6541, X, 1289, t, P, 5097, y, 6529, 7729, y, r
****