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

[Q]: ['Q', 'N', 'm', 'L', 2015, 'W', 'D', 'd', 'c', 'Q', 'I', 'N', 'W', 'j', 'A', 6921, 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'V', 'E', 'V', 6753, 'z', 2281, 'Y', 7397, 115, 3973, 8083, 6475, 'L', 'z', 5969, 3581, 'm', 3171, 3211], ['R', 5629, 'k', 3959, 'R', 'O', 'U', 'V', 'N', 'o', 3345, 'P', 4317, 'M', 'g', 8331, 'v', 'T', 'R', 'Y', 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'r', 'u', 9505, 3363, 4823, 'w', 'i', 'B', 'Q', 'Y', 'H', 'R', 2991, 's', 'U', 5579, 'C', 'F', 'E', 'j', 'P']
[A]: X, H, N, l, U, p, 4397, X, 1559, 167, i, 8689, 9273, J, r, a, K, 5511, R, z, T, f


[Q]: ['H', 191, 5269, 'I', 8869, 'N', 9617, 7679, 'C', '9103', '905', 'N', 'n', 'E', '1397', '1061', '4683', 'x', '5823', 'w', 'F', 'i', 'm', 'L', 5561], ['x', 2143, 2583, 'l', 781, 'i', 67, 7861, 'q', 7467, 8599, '9103', '905', 'N', 'n', 'E', '1397', '1061', '4683', 'x', '5823', 'w', 'F', 'y', 'G', 1961, 'V', 'B', 877, 'J', 6495, 3531]
[A]: 9103, 905, N, n, E, 1397, 1061, 4683, x, 5823, w, F


[Q]: ['x', 'b', 9957, 'k', 505, '8309', 'z', '8961', '851', '3811', 'N', 'u', 1875, 1521], ['F', 'B', 9607, 'o', '8309', 'z', '8961', '851', '3811', 'N', 'G', 'z']
[A]:
8309, z, 8961, 851, 3811, N