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

[Q]: ['h', 'F', 6393, 'n', 'T', 'k', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'K', 'F', 1277, 747, 'h', 'w', 8727, 'v', 7473, 'I', 6133, 4391, 'Q'], [1285, 'b', 3221, 6991, 'P', 'A', 'C', 1523, 'E', 'e', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'l', 4325, 'F', 1695, 'r', 6345, 1697]
[A]: r, e, Q, 329, G, 1763, L, 5625, T, i, 3085, E, 6801


[Q]: ['Y', 6449, 'w', 5543, 4639, 1899, 'd', 3489, 'x', 'c', 2891, 'H', 9885, 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'P', 'M', 'D', 'U', 6013, 5931, 2445, 'f', 7619, 'm', 6105, 'l'], [453, 583, 'Q', 5309, 2713, 'E', 5809, 'w', 'T', 9873, 4971, 8173, 1659, 2277, 'y', 8653, 1569, 'M', 't', 'N', 's', 'A', 'E', '3601', 'p', 'n', 'm', 'y', '6587', 'v', '247', 'k', '7529', 'T', '623', '8713', '7551', '3433', '7981', 'q', 'F', 'n', '3275', '3265', 'n', 'C', 'W', 'r', 'x', 'H', 3247, 'G', 'R', 7035, 6599, 'U', 't']
[A]: t, N, s, A, E, 3601, p, n, m, y, 6587, v, 247, k, 7529, T, 623, 8713, 7551, 3433, 7981, q, F, n, 3275, 3265, n


[Q]: [3855, 7505, 'A', 'H', 'N', 'M', '9971', 'P', '7571', 'A', 'i', '3651', 'Y', 'D', 'N', 'A', 'N', 2373, 'd', 9087, 7117], ['R', 9511, 'N', 'M', '9971', 'P', '7571', 'A', 'i', '3651', 'Y', 'D', 'N', 'i', 9125, 'O', 355, 6831]
[A]:
N, M, 9971, P, 7571, A, i, 3651, Y, D, N