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

[Q]: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]
[A]: 7171, I, m, 3035


[Q]: ['j', 'm', 1191, 'e', 5559, 'a', 'g', 'd', 'p', 'l', 'T', 'l', 1679, 'p', 'S', 'j', '183', 'I', '9449', '8407', '1659', '4661', 'V', '7039', '8247', '797', '9005', 'J', 'i', '6525', 'h', 'v', 'S', 4633], [2805, 'P', 'i', 'Z', 7121, 9353, 'U', 'O', 'A', 3297, 4523, 'd', 'z', 5157, 2587, 'S', 'j', '183', 'I', '9449', '8407', '1659', '4661', 'V', '7039', '8247', '797', '9005', 'J', 'i', '6525', 'h', 'v', 't', 4791, 'h', 8735, 2953, 'T', 'C', 'A']
[A]: S, j, 183, I, 9449, 8407, 1659, 4661, V, 7039, 8247, 797, 9005, J, i, 6525, h, v


[Q]: ['w', 'D', 53, '8671', '6547', '7861', 'q', 'G', 'v', '797', 'n', 'C', 'J', 2841, 'S', 9963, 3045, 'N'], [6737, 8705, 'b', 1015, 1645, '8671', '6547', '7861', 'q', 'G', 'v', '797', 'n', 'n', 'P', 7385, 8281]
[A]:
8671, 6547, 7861, q, G, v, 797, n