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

Q: ['L', 'W', 4919, 'y', '665', '9279', 'Z', 'd', '205', 'g', 'n', 305, 'r', 'B'], ['x', 'j', '665', '9279', 'Z', 'd', '205', 'a', 'V']

A: 665, 9279, Z, d, 205
****
Q: [1103, 'N', 9147, 7165, 'V', 'f', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'G', 7437, 3205, 'g', 8083, 'q', 3507, 'L', 9495], [5075, 't', 8603, 5843, 't', 7843, 451, 'M', 'Z', 'e', 5525, 'l', '7111', 'D', 'u', '7395', '1823', 'f', '4665', 'v', 'W', '7465', 'V', 'h', '3957', 'w', 'T', 'x', 'z', 'K', 7637, 2523, 1279, 'r', 'n', 'f', 1773, 'o', 4173, 4627, 39]

A: 7111, D, u, 7395, 1823, f, 4665, v, W, 7465, V, h, 3957, w, T, x
****
Q: ['S', 385, 7023, 3983, 1915, 2433, 'g', 7631, '8751', 'f', 'V', 'r', '3829', 'K', '8353', '5799', '2623', '2397', 'F', '9303', 'u', '2305', 'e', '2409', 'o', 'U', '709', 'Z', '5459', 'W', 'B', '6501', 'K', 'o', '4207', 'e', 'r', 't', 'f', 'q', 'm', 'v', 'K', 8467, 1269, 'R', 7917, 2019, 'u', 2613, 6795, 'Y', 'U', 7007, 'H'], [8263, 'I', 'I', 'y', 'i', 'i', 'G', 's', 'c', 3461, 'H', 'H', 8149, 1137, 'u', 6691, 8973, 6427, 3107, 'I', 'A', 2647, 'n', 8225, '8751', 'f', 'V', 'r', '3829', 'K', '8353', '5799', '2623', '2397', 'F', '9303', 'u', '2305', 'e', '2409', 'o', 'U', '709', 'Z', '5459', 'W', 'B', '6501', 'K', 'o', '4207', 'e', 'r', 't', 'p', 'h', 6511, 'W']

A:
8751, f, V, r, 3829, K, 8353, 5799, 2623, 2397, F, 9303, u, 2305, e, 2409, o, U, 709, Z, 5459, W, B, 6501, K, o, 4207, e, r, t
****