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

[Q]: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']
[A]: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D


[Q]: [2481, 7755, 2663, 2449, 4291, 'b', 5343, 'F', 'A', '3811', 'G', 'I', '415', '6825', '2449', 'q', 'W', 'x', 't', 'K', 'l', 539, 3959], ['W', 'N', 'K', 4351, '3811', 'G', 'I', '415', '6825', '2449', 'q', 'W', 'x', 'c', 9833]
[A]: 3811, G, I, 415, 6825, 2449, q, W, x


[Q]: ['y', 4993, 3081, 5149, 4247, 'h', 'y', 3823, 4325, 7485, '3547', 'a', '5293', '5983', 'P', 'M', 'i', '6513', 'z', '7411', '3381', '4899', '1099', 'g', 'O', 'q', 'd', 'A', 745, 'Z', 7119, 8251, 'R', 2733, 8841, 7279], ['a', 'e', 2359, '3547', 'a', '5293', '5983', 'P', 'M', 'i', '6513', 'z', '7411', '3381', '4899', '1099', 'g', 'Z', 'B', 2011, 6809, 'X', 6765, 'N', 541, 2881, 'p', 'M', 9655, 6409]
[A]:
3547, a, 5293, 5983, P, M, i, 6513, z, 7411, 3381, 4899, 1099, g