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]: [5587, 5085, 'i', 'H', 9133, 'D', 'y', 'M', 't', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'I', 573, 1699, 'M', 'm', 'r', 'o', 2659, 8785], ['T', 'h', 9991, 'c', 'J', 'Z', 'Z', 1541, 7687, 'z', 1961, 'A', 9619, 'b', 'o', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'p', 6099, 'W', 'V', 'Z', 4553, 5651]
[A]: r, 7787, 1083, F, 8153, i, 979, b, z, g, 1657, t, 2281, 8149, 7429, o


[Q]: [5069, 7237, 's', 7071, 'w', 'b', 9771, 5435, 'K', 'd', 'r', '9581', 'e', '7679', '1829', 'O', 'Z', 'U', 'W', 'J', 'q', '3709', 'x', 7209, 437, 9391, 'H', 'e', 265, 4489, 'J', 'p'], [21, 8051, 9041, 'S', 2665, 'm', 5465, 5747, 'd', 'r', '9581', 'e', '7679', '1829', 'O', 'Z', 'U', 'W', 'J', 'q', '3709', 'U', 'm', 'F', 'I', 7283, 6391, 6087, 6861, 6071]
[A]:
d, r, 9581, e, 7679, 1829, O, Z, U, W, J, q, 3709