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

Q: [5381, 'H', 'w', 9281, 3195, 2609, 'v', 'q', 'O', 10019, 'Q', 'K', 'c', 'J', 'A', 'a', 313, 5517, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'z', 4391, 'Z', 3229, 'f', 'z', 6131, 'm', 'U', 5825], [6363, 6625, 'f', 7841, 'J', 'j', 993, 'p', 'f', 'X', 'j', 361, 4325, 'a', 649, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'G', 6719, 2367, 9155, 'B', 7493, 9415, 'j', 'k', 'j', 'v', 'k', 'Z', 9021, 'f', 'x', 3213, 'p', 3453, 'w']

A: 3007, 1737, F, a, 4559, 3987, 6211, v, 5531, 9565, 1705, 7747, 8567, 5965, 4195, p, 2775, g, K, n, B, U, T, 8995, c, 2831, n, Q, l, 6749
****
Q: ['m', 'K', 2769, 'i', 'k', 853, 'P', '9255', 'N', '8281', 'f', 'm', 'V', 'a', 3525, 7823, 2111, 'T'], ['Q', 1337, 'I', 'P', '9255', 'N', '8281', 'f', 'm', 'g', 'M', 3873]

A: P, 9255, N, 8281, f, m
****
Q: [2037, 'z', 'w', 7693, 'M', 'W', 'Y', 'G', 'U', 2483, 'l', 2629, 'F', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'A', 1945, 5937, 7887, 'j', 6615, 'O', 3925, 7455, 319, 'A', 6973], ['q', 'N', 'V', 'S', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'v', 'J', 'j', 'w']

A:
6973, w, D, z, z, Y, m, 6417, 927, X, N, L, 6511, 8401
****