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

[Q]: [8471, 8309, 'g', 'f', 5019, 'd', 8129, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'L', 5985, 2953, 6897, 'n', 9209, 3281, 'w', 4011, 't'], ['g', 7529, 'q', 6213, 'c', 'l', 6053, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'B', 2159, 7633, 8707]
[A]: r, e, l, B, 7297, c, 2785, 919, B, 5459


[Q]: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']
[A]: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K


[Q]: [637, 'E', 5987, 9993, 'k', 'a', 9427, '999', '2991', '3075', '7615', '5135', 'X', 'K', '8209', 'o', 'O', 'n', 'Y', '7247', 'F', 'x', 'S', '7741', '1611', 'h', 4895, 7311, 4737, 2453, 5595, 'b', 509, 's', 'Y', 'a', 'F', 'o', 2335, 133], ['W', 'q', 'h', '999', '2991', '3075', '7615', '5135', 'X', 'K', '8209', 'o', 'O', 'n', 'Y', '7247', 'F', 'x', 'S', '7741', '1611', 'Y', 6587, 'I', 'f', 'Q', 'B', 8691, 'l', 'N', 1495, 2945]
[A]:
999, 2991, 3075, 7615, 5135, X, K, 8209, o, O, n, Y, 7247, F, x, S, 7741, 1611