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

[Q]: [4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']
[A]: A, 5181, i, X, h, J


[Q]: [4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']
[A]: 4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031


[Q]: [6503, 'A', 'l', 'o', 'z', 1427, 'H', 'J', 'm', 5285, 9335, 'B', 'R', 'p', 'N', 849, 3999, 3177, 'Y', '7429', '8823', '8947', 'o', '7795', 'W', 'E', '1559', '4755', '7391', '8133', 'o', '6421', 'Y', 'e', 'W', 'N', 'D', 'n', 'U', 6709, 6049, 3903, 8975, 'S', 5957, 1805, 1401, 'g', 'P'], [4945, 4149, 'Y', '7429', '8823', '8947', 'o', '7795', 'W', 'E', '1559', '4755', '7391', '8133', 'o', '6421', 'Y', 'e', 'W', 'N', 'D', 'c', 'z', 2847, 'f', 9563, 'u', 609, 3609, 5557, 1813, 2721]
[A]:
Y, 7429, 8823, 8947, o, 7795, W, E, 1559, 4755, 7391, 8133, o, 6421, Y, e, W, N, D