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

[Q]: ['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']
[A]: 4623, M, d, 5977, 7669, 8583, 2455, D, j, c


[Q]: [1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]
[A]: 9043, 2335, 5029, f, b, 7547, 4275, R, H


[Q]: ['x', 'A', 'K', 'D', 'b', 'I', '4139', '1131', 'D', 'k', 'V', '7005', 'z', 'l', 'X'], ['i', 'i', 'h', 'S', '4139', '1131', 'D', 'k', 'V', '7005', 'l', 1777]
[A]:
4139, 1131, D, k, V, 7005