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

[Q]: ['Y', 'T', 'S', 'w', 't', 2753, 2583, 'B', 1731, 'k', 5301, 'R', 'g', 5503, 1467, 'N', 'l', 'A', 'V', 2559, 'B', 5477, 9431, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'r', 857, 'P', 2433, 'F'], [1509, 3085, 'H', 2635, 5929, 'h', 8211, 'D', 6973, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'R', 'c', 'R', 'e', 3481, 'Y', 7899, 'l', 4879]
[A]: 6259, 7331, 9781, 945, S, 9147, 4263, 1371, c, 2595, W, N, T, l, X, T, e, 8731, A, V, 6643, k, S


[Q]: ['X', 9737, 6673, 165, 5345, 'F', 'I', 'X', 2467, 'X', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'd', 'n', 'E'], [9725, 'G', 121, 'U', 2663, 'I', 'J', 2523, 'S', 'n', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'O', 2705, 5041, 8019, 'P']
[A]: I, b, Q, z, v, 3523, 4717, a, A, Q, 5235, 1399, s, 5195, 1327


[Q]: ['x', 5751, 1283, 5483, 'Y', 'U', 'm', 5151, 9153, 'l', 'S', 8309, 'A', 'Y', 'B', 'K', 'Y', '1145', 'U', '8493', 'q', '5741', 'L', 'h', '4859', 't', '9069', 'E', 'q', '55', '1669', '5531', 'I', '451', 'K', 'f', 'C', 8463, 'r', 7617, 4451, 'f', 's'], ['Y', 'd', 3637, 'Q', 'A', 'z', 5459, 9883, 5499, 'o', 721, '1145', 'U', '8493', 'q', '5741', 'L', 'h', '4859', 't', '9069', 'E', 'q', '55', '1669', '5531', 'I', '451', 'v', 'W']
[A]:
1145, U, 8493, q, 5741, L, h, 4859, t, 9069, E, q, 55, 1669, 5531, I, 451