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

[Q]: ['u', 'U', 'a', 'Z', 'b', 'Q', 'D', 5239, 6595, 1793, 'f', '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'm', 867, 585, 1765], [5201, 'W', 'a', 'k', 9031, 4815, '7733', '5727', '3047', '4951', '8907', 'D', '5105', 'i', '1837', 'i', 'Y', 'b', '5769', 'p', '1767', 'Y', 'B', 'q', '4075', '917', 'c', 'X', 2991, 3377, 2933, 5359, 6073, 8921, 789, 'W', 7037, 9953, 'N', 8007, 1755, 1959, 9619]
[A]: 7733, 5727, 3047, 4951, 8907, D, 5105, i, 1837, i, Y, b, 5769, p, 1767, Y, B, q, 4075, 917, c


[Q]: [7449, 1055, 'd', 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'N', 'd', 83, 'a', 'd', 3257, 3697, 'p', 9587, 4343, 8761, 8435, 'q', 909], ['F', 'V', 3405, 6049, 8373, 8397, 9195, 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'E', 'W', 'U', 'T', 'L', 2711, 'R', 'm']
[A]: q, 3157, 6365, v, b, H, n, B, 4283, m, c, V, h, 3207, 3795, j, l, j, K, k


[Q]: ['x', 4287, '4761', 'i', '9739', '8047', 'x', 'u', 'M', 'z', '9349', 'I', '6067', '7933', '6123', 'w', '5443', '4363', '1751', '1407', 'C', 'K', 'U', '583', 'R', '5299', '5891', 'b', 8975, 'a', 8189, 2661, 'p', 1071], ['T', 1761, 453, 5217, 'n', 'E', 'K', 'F', 'i', 9523, 'V', 2083, 3771, '4761', 'i', '9739', '8047', 'x', 'u', 'M', 'z', '9349', 'I', '6067', '7933', '6123', 'w', '5443', '4363', '1751', '1407', 'C', 'K', 'U', '583', 'R', '5299', '5891', 'L', 5305, 8361, 'y', 7975, 'u', 4363, 3171, 'I']
[A]:
4761, i, 9739, 8047, x, u, M, z, 9349, I, 6067, 7933, 6123, w, 5443, 4363, 1751, 1407, C, K, U, 583, R, 5299, 5891