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

Q: [9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']

A: f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929
****
Q: [6971, 'd', 'J', 'p', 'F', 5463, 'F', 'P', 1897, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'Q', 7829, 'C', 5311], ['E', 'R', 'H', 217, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'T', 5849, 1449]

A: J, O, j, H, y, 3659, 9455, P, 9829, m
****
Q: [8101, 'B', 5659, 'o', 'r', '5523', '4833', '5143', 'v', '2145', '535', 'p', 'K', '7229', '131', '8099', '9849', '6765', 'G', '3349', 'P', '9003', '4095', '3533', '1403', 'M', '3023', 'V', 7033, 3607, 9595, 9205, 'n', 'F', 5229, 7107, 'O', 6709, 'n', 'D', 'd', 6853, 9171, 2757, 'V'], ['M', 'x', 5, 1163, 8239, 'F', 5311, 7427, 9493, 'o', 'r', '5523', '4833', '5143', 'v', '2145', '535', 'p', 'K', '7229', '131', '8099', '9849', '6765', 'G', '3349', 'P', '9003', '4095', '3533', '1403', 'M', '3023', 'S', 't', 'A', 7255, 7189, 'Z', 9879, 'x', 4805, 525, 587, 421, 'I', 8153, 'h', 'M', 1163, 'l', 'F', 9829, 'h', 421, 4713]

A:
o, r, 5523, 4833, 5143, v, 2145, 535, p, K, 7229, 131, 8099, 9849, 6765, G, 3349, P, 9003, 4095, 3533, 1403, M, 3023
****