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

[Q]: [5703, 'd', 2573, 'V', 9273, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 'Z', 'J', 'C', 'O', 6077, 1125, 1345, 8989], ['f', 59, 8449, 5387, 8075, 9721, 5271, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 2375, 3141, 'Z', 'Y', 'N']
[A]: 7133, O, 6191, 6151, 5017, c, b, 1721


[Q]: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
[A]: N, P, 9231, j, H, 5851


[Q]: ['p', 4281, 2505, 4493, 'w', 'h', 'y', 9125, 'J', 9673, 6219, 'o', 'Z', 'P', 'q', '797', '2753', 'u', 'M', 'v', 'T', 'u', '7259', 'E', '7785', 'Z', 'X', 'P', '6385', 'f', '6853', '5543', '7949', '1987', 'f', '3295', '1999', '8529', '4801', 'S', 'Q', 'C', 'B', 'H', 'E', 'L', 's', 9999, 8289, 8995, 6541, 'q', 8845, 'M', 'G', 1287, 2875, 'o', 5465, 9727, 'n', 'h', 2973, 6813, 2463, 'V', 5477], ['V', 1909, 1743, 8987, 'I', 'e', 6937, 'Z', 'p', 7489, 'i', 7915, 'y', 9837, '797', '2753', 'u', 'M', 'v', 'T', 'u', '7259', 'E', '7785', 'Z', 'X', 'P', '6385', 'f', '6853', '5543', '7949', '1987', 'f', '3295', '1999', '8529', '4801', 'S', 'Q', 'C', 'B', 'H', 's', 1559, 'c', 521, 8637, 'B', 'Y', 'l', 'i', 'j', 4223, 1871, 1523, 7607, 'g', 'n', 'I', 'S', 9229, 6489, 'S', 'A', 8483, 2739, 7517, 'Y']
[A]:
797, 2753, u, M, v, T, u, 7259, E, 7785, Z, X, P, 6385, f, 6853, 5543, 7949, 1987, f, 3295, 1999, 8529, 4801, S, Q, C, B, H