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

Q: ['V', 6409, 2901, 2857, 'm', 'Z', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'u', 6709, 5107, 75, 'D', 3405, 8783, 'f', 9429], [4593, 'J', 9331, 'R', 'F', 9237, 9523, 3727, 9529, 4753, 'y', 'd', 'P', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'K', 'e', 'g']

A: H, D, I, w, 8693, 7057, a, 2847, 5289, n, 9155, Z, L, 1065
****
Q: [7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]

A: T, 5979, w
****
Q: ['n', 1515, 169, 'R', 'x', 3089, 'g', '5627', 'o', '4853', '8667', '8171', '8731', 'Z', 'y', '4105', '9119', 'x', 'D', 'w', 'h', 'U', 'g', 7175], ['U', 'J', 'l', 9191, 'J', 2297, 'N', '5627', 'o', '4853', '8667', '8171', '8731', 'Z', 'y', '4105', '9119', 'x', 'D', 'w', 'h', 'U', 'P', 4429]

A:
5627, o, 4853, 8667, 8171, 8731, Z, y, 4105, 9119, x, D, w, h, U
****