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

[Q]: [7963, 1119, 5983, 1201, 'f', 7721, 'l', 6831, '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'i', 'X', 5925, 'R', 'm', 6883, 'S', 'J', 's', 'U', 'G', 7225, 7405], ['P', 3151, 'V', 347, 6187, 9261, 867, 'd', 3727, 4495, 'L', 'k', 1911, 'k', 'v', 'T', '369', 'h', 'P', '9609', 'C', 'N', 'v', 'J', '8213', 'Q', '6733', 'S', '3587', 'F', '2917', '1601', 'w', 'z', 'b', '7237', '6995', '1907', 'S', 'A', 3797, 7567, 7617, 'E', 7683, 'd', 'K', 1795, 5667, 'y', 4005, 567, 8429]
[A]: 369, h, P, 9609, C, N, v, J, 8213, Q, 6733, S, 3587, F, 2917, 1601, w, z, b, 7237, 6995, 1907, S


[Q]: [9779, 'C', 8839, 1257, 9375, 6513, 3027, 'c', 4415, 8523, 3873, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'Z', 993], ['H', 'e', 4231, 'R', 1623, 773, 2271, 'w', 'V', 8053, 3873, 'x', 'O', 'S', 311, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'v', 'F', 'L', 6355, 't', 1707, 'y', 2711, 'u', 5697]
[A]: 4225, 3367, c, f, 477, 7185, 6657, z, f, H, l, p, F, 7941, M, 4439, R, 9505, s, R, x, w


[Q]: [7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]
[A]:
8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n