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

[Q]: [1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]
[A]: 5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B


[Q]: ['Q', 'I', 't', 'b', 9175, 2827, 'P', 'v', 8293, 'c', 1863, 'J', 's', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'i', 9597, 4909, 'J'], ['S', 'a', 9123, 'I', 'F', 'z', 3481, 4235, 'X', 'I', 6447, 6365, 'T', '6749', '5147', 'e', 'O', '8605', '613', '7647', '5691', 'v', '2303', '7061', '1091', '8563', 'T', '511', 'U', '8991', '231', 'f', '8793', '2147', '6075', 'p', 'Q', 'R', 'W', 'm', 719, 'A', 'h', 3093, 'O', 8221, 9879, 'W', 6953, 8729, 2853, 3651, 'X', 2079, 4499, 'Q', 7143]
[A]: 6749, 5147, e, O, 8605, 613, 7647, 5691, v, 2303, 7061, 1091, 8563, T, 511, U, 8991, 231, f, 8793, 2147, 6075, p


[Q]: ['P', 'F', 4573, 'w', 9885, 'p', 'Q', 3275, 2959, 1529, 'i', 'p', 7579, 'W', 'X', 1809, 5375, 'P', 2823, 8207, 'P', 7707, '5485', 'z', '6943', 'A', '4013', 'R', 'J', 'g', 'S', 'N', 'P', 'D', 'K', 's', 'J', 'u', '5139', '3105', 'O', '2627', 'T', '515', 'f', 'v', 'C', 'V', 'L', 'U', 'c', 'b', 7059, 'A', 3237, 'D', 'q', 'i', 'S', 8257, 9091, 'v', 'Y', 'A', 'v', 'q', 5111, 'C', 5783, 'k'], ['W', 1655, 2427, 'R', 433, 't', 't', 'R', 8531, 3229, 'S', 4861, 'D', 9901, 8967, 5967, 585, 'Z', 3371, 'A', 'Y', 'd', '5485', 'z', '6943', 'A', '4013', 'R', 'J', 'g', 'S', 'N', 'P', 'D', 'K', 's', 'J', 'u', '5139', '3105', 'O', '2627', 'T', '515', 'f', 'v', 'C', 'V', 'L', 'U', 'c', 'X', 525]
[A]:
5485, z, 6943, A, 4013, R, J, g, S, N, P, D, K, s, J, u, 5139, 3105, O, 2627, T, 515, f, v, C, V, L, U, c