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

[Q]: [7615, 3985, 'o', 1073, 5157, 5347, '7031', '7637', '6703', '7735', '8445', '9373', 'f', 'x'], [1247, 'x', 5707, 3649, 'g', 'z', '7031', '7637', '6703', '7735', '8445', '9373', 'h', 6317, 'T', 'M', 5703, 'h']
[A]: 7031, 7637, 6703, 7735, 8445, 9373


[Q]: ['l', 581, 4659, 2559, 'f', 'S', '1219', '6225', '515', '5369', 'w', 'V', 7431, 6195, 1731, 'J', 9541], [8813, 7733, 'n', 'a', 'h', 981, 'S', '1219', '6225', '515', '5369', 'w', 'q', 'A', 'U', 'J']
[A]: S, 1219, 6225, 515, 5369, w


[Q]: [3163, 'w', 3967, 37, 8517, 'W', 'r', 'q', 4545, 'l', 'c', 'f', 'u', 'w', '6757', '1225', '8765', 'G', 'X', '3773', '3201', 'X', '6935', 'l', '9411', '5075', 'F', 'k', '5221', 'L', 'C', '9145', '4583', '8389', '6027', 'o', '6229', '6969', 'h', 'U', '1025', 'p', 'B', 3129, 's', 3383, 'C', 'r', 's', 'x', 'P', 1949, 'V', 4547, 'B', 'm', 'Z', 8779, 2651, 'V', 7671, 'd', 'i', 317, 8265, 'W', 8757, 9895, 5879, 'y', 9613, 359], ['x', 3835, 'L', 5553, 8653, 8493, 'o', 779, 391, 6491, 'c', 'c', 6615, 1471, 3919, 8665, 'u', 'w', '6757', '1225', '8765', 'G', 'X', '3773', '3201', 'X', '6935', 'l', '9411', '5075', 'F', 'k', '5221', 'L', 'C', '9145', '4583', '8389', '6027', 'o', '6229', '6969', 'h', 'U', '1025', 'p', 'I', 5957, 8103, 't', 5289, 'A', 6619, 1729, 'w', 'k', 6543, 8201]
[A]:
u, w, 6757, 1225, 8765, G, X, 3773, 3201, X, 6935, l, 9411, 5075, F, k, 5221, L, C, 9145, 4583, 8389, 6027, o, 6229, 6969, h, U, 1025, p