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

[Q]: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']
[A]: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F


[Q]: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]
[A]: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n


[Q]: ['u', 'V', 10005, 'R', 2921, 'b', 7419, 'd', 'r', 1357, 'E', 3441, 6955, 8747, 'U', 'd', 'W', '661', 'A', '1529', '2145', '8603', 'k', '9315', '4117', '5717', 'x', 'Z', 'P', '6759', 'r', '7409', 'P', '3963', 'R', 'q', '5043', 'x', 'M', 'o', 4269, 2013, 'X', 'B'], [4475, 'a', 2423, 6529, 'c', 'X', 'B', 'A', 7853, 'o', 5267, 3641, 6861, 'y', 'k', 'q', 9155, 9073, 'U', 'd', 'W', '661', 'A', '1529', '2145', '8603', 'k', '9315', '4117', '5717', 'x', 'Z', 'P', '6759', 'r', '7409', 'P', '3963', 'R', 'q', '5043', 'x', 'M', 'i', 3731, 'r', 6679]
[A]:
U, d, W, 661, A, 1529, 2145, 8603, k, 9315, 4117, 5717, x, Z, P, 6759, r, 7409, P, 3963, R, q, 5043, x, M